Commit graph

6,800 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
96ce544582 🔧 fix(test_custom_component.py): fix import statement to match renamed function and module names
🔧 fix(test_custom_component.py): fix function calls to match renamed function names
2023-12-04 18:14:25 -03:00
anovazzi1
cd1a290057 fix(PageComponent): update onKeyDown event handler to prevent copying text when there is a selection 2023-12-04 18:11:38 -03:00
Lucas Oliveira
11c9515e19 Fix response incorrect 2023-12-04 17:54:55 -03:00
Lucas Oliveira
a26726a99d Fixed ctrl-z not working when pasting more times 2023-12-04 17:41:38 -03:00
Lucas Oliveira
0fc773ecee Update node state when changing something, updated back button to act like one 2023-12-04 17:38:38 -03:00
Gabriel Luiz Freitas Almeida
a52caf1fc2 Update langchain version to 0.0.345 2023-12-04 17:23:33 -03:00
Gabriel Luiz Freitas Almeida
e3a1f39c87 Add tests for custom component validation and
template generation
2023-12-04 17:23:33 -03:00
Gabriel Luiz Freitas Almeida
327cd0b462 Add test_component.py fixture 2023-12-04 17:23:32 -03:00
Gabriel Luiz Freitas Almeida
a4b2cfef87 Update langflow custom component endpoints 2023-12-04 17:23:32 -03:00
Lucas Oliveira
40d62fa565 TakeSnapshot added on paste 2023-12-04 17:18:36 -03:00
Lucas Oliveira
34aef1540b Changed position of copied element 2023-12-04 17:16:23 -03:00
Lucas Oliveira
15b7ce83d3 Fix lag on components page 2023-12-04 17:10:32 -03:00
Lucas Oliveira
cfec6f2683 Cancel previous timeout if flow and reactFlowInstance changes 2023-12-04 16:41:13 -03:00
Lucas Oliveira
d19fdf5373 Added colors to types 2023-12-04 16:41:13 -03:00
Gabriel Luiz Freitas Almeida
907c3ca9f7 Refactor test_agents_template.py by removing
unused test cases and initializing agent template
2023-12-04 16:25:43 -03:00
Gabriel Luiz Freitas Almeida
53910dbce7 Fix type annotations and imports in code 2023-12-04 16:25:42 -03:00
Gabriel Luiz Freitas Almeida
ee8efdf6c5 Update pydantic import in AnthropicLLM.py 2023-12-04 16:25:42 -03:00
Lucas Oliveira
755f8c6e70 Fixed icon size and naming 2023-12-04 16:07:52 -03:00
Lucas Oliveira
6e353ba3ee Removed position from component upload 2023-12-04 15:56:59 -03:00
Lucas Oliveira
7e12316022 Added component drop on ReactFlow 2023-12-04 15:56:59 -03:00
Gabriel Luiz Freitas Almeida
de392c5677 Update platformdirs and posthog versions 2023-12-04 15:46:52 -03:00
Gabriel Luiz Freitas Almeida
f29213a7c6 🐛 fix(api_key/model.py): make 'name' field nullable with a default value of None to allow for optional name values in ApiKeyBase model 2023-12-04 15:44:35 -03:00
Gabriel Luiz Freitas Almeida
c05108230e Fix database initialization issue 2023-12-04 15:44:35 -03:00
Gabriel Luiz Freitas Almeida
f1773a906c Fix database initialization issue and add delay
after upgrade
2023-12-04 15:44:34 -03:00
Gabriel Luiz Freitas Almeida
9a697362cb Add database migration scripts 2023-12-04 15:44:33 -03:00
Gabriel Luiz Freitas Almeida
98d5351d87 Fix anthropic_api_key handling in AnthropicLLM.py 2023-12-04 15:44:33 -03:00
Gabriel Luiz Freitas Almeida
d2c616ab76 Update bcrypt version to 4.0.1 2023-12-04 15:44:32 -03:00
Gabriel Luiz Freitas Almeida
24219594e5 Refactor user API endpoint 2023-12-04 15:44:31 -03:00
Gabriel Luiz Freitas Almeida
213c44abc5 Fix field_validator mode in FlowBase model 2023-12-04 15:44:31 -03:00
Gabriel Luiz Freitas Almeida
bf76ba660f Fix last_login_at default value 2023-12-04 15:44:30 -03:00
Gabriel Luiz Freitas Almeida
8dcc5e4120 Update base classes in AgentInitializer 2023-12-04 15:44:30 -03:00
Gabriel Luiz Freitas Almeida
5c352157d1 Fix return type assertion in
test_custom_component_get_function_entrypoint_return_type()
2023-12-04 15:44:29 -03:00
Gabriel Luiz Freitas Almeida
f30898d703 Fix import and validate model in flow creation 2023-12-04 15:44:28 -03:00
Gabriel Luiz Freitas Almeida
6e041a62b8 Fix assertion in test_build_graph 2023-12-04 15:44:28 -03:00
Gabriel Luiz Freitas Almeida
7be4ce5b07 Update sqlmodel version to 0.0.14 2023-12-04 15:44:27 -03:00
Gabriel Luiz Freitas Almeida
418e390c0a Update sqlmodel repository URL 2023-12-04 15:44:26 -03:00
Gabriel Luiz Freitas Almeida
6afbd32621 Update AnthropicLLM to use BaseLanguageModel and
SecretStr
2023-12-04 15:44:26 -03:00
Gabriel Luiz Freitas Almeida
1c2d2402ba Update AnthropicLLM model name 2023-12-04 15:44:25 -03:00
Lucas Oliveira
a632fc6bdb Added loading screen on reactflow 2023-12-04 15:32:35 -03:00
Lucas Oliveira
64ca2649fe Fixed group button with transparent background 2023-12-04 15:06:48 -03:00
Lucas Oliveira
395c0fe55a Fixed placeholder message 2023-12-04 15:00:09 -03:00
Lucas Oliveira
f964420a5e Added icons on sidebar 2023-12-04 14:52:31 -03:00
Lucas Oliveira
cc5a913cfd Updated to be on pair with store 2023-12-04 14:43:06 -03:00
anovazzi1
0f33313dae code format 2023-12-04 14:33:16 -03:00
anovazzi1
faea687871 feat(GenericNode): add priorityFields constant to improve sorting logic in GenericNode component
The `GenericNode` component in `index.tsx` has been updated to include an import statement for the `priorityFields` constant from `constants.ts`. This constant is a `Set` containing the field names "code" and "template".

In the `sort` function of the `GenericNode` component, the logic has been modified to check if a field name is present in the `priorityFields` set. If so, it gives higher priority to that field during sorting. This change improves the sorting logic in the component.

The `constants.ts` file has also been updated to include the `priorityFields` constant.
2023-12-04 14:28:07 -03:00
Gabriel Luiz Freitas Almeida
b43a22fbee Refactor langchain imports and update
llm_type_to_cls_dict
2023-12-02 14:00:56 -03:00
Gabriel Luiz Freitas Almeida
498e5b1508 Delete constants.py custom component 2023-12-02 14:00:50 -03:00
Gabriel Luiz Freitas Almeida
83a1255448 Refactor custom component code 2023-12-02 14:00:33 -03:00
Gabriel Luiz Freitas Almeida
7b5066e6b1 feat(store.py): add PATCH endpoint to update a component in the store
🐛 fix(service.py): add update method to StoreService class to handle PATCH requests for updating a component in the store
2023-12-01 22:06:46 -03:00
Gabriel Luiz Freitas Almeida
79df6d883a Refactor store service to include user search by
username
2023-12-01 21:58:09 -03:00