Commit graph

5,044 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
a8e620d89c Refactor user CRUD functions 2023-12-05 18:16:11 -03:00
Gabriel Luiz Freitas Almeida
fa9b7265ea Fix migration issue with default superuser 2023-12-05 18:16:06 -03:00
Gabriel Luiz Freitas Almeida
0a3921dd2d Refactor credential retrieval and listing methods 2023-12-05 18:16:02 -03:00
Gabriel Luiz Freitas Almeida
b1a4957e20 Refactor code and optimize imports 2023-12-05 18:15:57 -03:00
Gabriel Luiz Freitas Almeida
796854d9e6 Refactor flow read function 2023-12-05 18:15:52 -03:00
Gabriel Luiz Freitas Almeida
43036795be Refactor API endpoints and improve code structure 2023-12-05 18:15:46 -03:00
Gabriel Luiz Freitas Almeida
aee00ab07f Fix credential query in create_credential and
update_credential functions
2023-12-05 18:15:40 -03:00
Gabriel Luiz Freitas Almeida
811da0323d Fixes database table creation and adds profile
image column
2023-12-05 18:15:30 -03:00
Gabriel Luiz Freitas Almeida
62c053030b Refactor credential.py to use SQLModel's select
method
2023-12-05 18:00:59 -03:00
Gabriel Luiz Freitas Almeida
580f3a1e0d Merge remote-tracking branch 'origin/dev' into feature/store 2023-12-05 17:40:09 -03:00
Gabriel Luiz Freitas Almeida
1713f0a703 Update settings store flag in langflow/__main__.py 2023-12-05 17:36:59 -03:00
cristhianzl
3192290f1b Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store 2023-12-04 20:48:20 -03:00
cristhianzl
8714ecfada feat(flowsContext.tsx): add nodesOnFlow and setNodesOnFlow functions to FlowsContext to track changes in nodes on the flow
fix(PageComponent/index.tsx): update onNodesChangeMod function to only trigger when there are changes in the nodes on the flow and update nodesOnFlow state in FlowsContext
feat(tabs/index.ts): add nodesOnFlow and setNodesOnFlow functions to FlowsContextType to track changes in nodes on the flow
2023-12-04 20:48:11 -03:00
Gabriel Luiz Freitas Almeida
147a2e4097 Refactor store service module 2023-12-04 19:38:54 -03:00
Lucas Oliveira
7de1ee12c8 Fixed disabled variable at EditNodeModal 2023-12-04 18:37:33 -03:00
Lucas Oliveira
b6f1f07d19 Fixed button to open new tab(make it a Link) 2023-12-04 18:19:44 -03:00
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
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
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
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
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
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
f586142938 Ignore "repr" key when processing inputs
Unable to call the API locally #1171
2023-12-04 08:41:30 -03:00