anovazzi1
3c56b7a2b7
fix premature closing of websocket
2024-02-27 20:37:57 -03:00
anovazzi1
df07cf413b
fix(frontend): add useRef hook to manage eventSource in ChatMessage component
...
feat(frontend): add support for process.env.PORT environment variable in server.ts
feat(frontend): add updateFlowPool function to NewChatView component
feat(frontend): add buildId parameter to addDataToFlowPool function in flowStore
feat(frontend): add stream_url property to ChatOutputType in flow types
2024-02-27 18:29:57 -03:00
Gabriel Luiz Freitas Almeida
af9786bdef
Add import statement for INPUT_FIELD_NAME
2024-02-27 18:24:00 -03:00
Gabriel Luiz Freitas Almeida
e4dd94021d
Refactor buildInputs function and update code that calls it
2024-02-27 18:13:34 -03:00
Gabriel Luiz Freitas Almeida
feac452f1c
Refactor run_flow_with_caching function in endpoints.py
2024-02-27 18:13:29 -03:00
Gabriel Luiz Freitas Almeida
e40395197d
Add model serialization to RunResponse schema
2024-02-27 18:13:23 -03:00
Gabriel Luiz Freitas Almeida
8ea252c033
Add flow_id parameter to Graph.from_payload() method
2024-02-27 18:13:08 -03:00
Gabriel Luiz Freitas Almeida
6ad4de8655
Add updated_raw_params flag and INPUT_FIELD_NAME constant
2024-02-27 18:12:58 -03:00
Gabriel Luiz Freitas Almeida
d6963b5812
Add loguru logger to types.py
2024-02-27 18:12:33 -03:00
Gabriel Luiz Freitas Almeida
a9bea1872a
Update parameter name in ChatVertex stream method
2024-02-27 18:08:50 -03:00
Gabriel Luiz Freitas Almeida
39a2801095
Refactor message parameter in ContractEdge
2024-02-27 18:07:12 -03:00
Gabriel Luiz Freitas Almeida
27fe142377
Update message parameter name in ChatVertex class
2024-02-27 18:06:35 -03:00
Gabriel Luiz Freitas Almeida
4007b9728f
Refactor typing import in types.py
2024-02-27 17:57:29 -03:00
Gabriel Luiz Freitas Almeida
40baf20424
Refactor ChatComponent's add_message method
2024-02-27 17:51:02 -03:00
Gabriel Luiz Freitas Almeida
0e9aa23a1c
Refactor ChatOutput class to inherit from ChatComponent
2024-02-27 16:57:51 -03:00
Gabriel Luiz Freitas Almeida
e0a67b0410
Update model invocation in OpenAIModel, VertexAiModel, CohereModel, LlamaCppModel, AnthropicModel, GoogleGenerativeAIModel, AzureOpenAIModel, CTransformersModel, OllamaModel, AmazonBedrockModel, BaiduQianfanChatModel, and HuggingFaceModel
2024-02-27 16:52:04 -03:00
Gabriel Luiz Freitas Almeida
af69ac3333
Refactor code formatting in validate.py
2024-02-27 16:37:03 -03:00
Gabriel Luiz Freitas Almeida
4428cb913c
Update base classes to support subclassing CustomComponent
2024-02-27 16:36:56 -03:00
anovazzi1
2add242a18
Update FlowStoreType to include ChatOutputType and chatInputType
2024-02-27 16:19:37 -03:00
anovazzi1
20810988b0
Add updateFlowPool function to FlowStoreType
2024-02-27 15:59:42 -03:00
igorrCarvalho
835a7f4e63
Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration
2024-02-27 15:46:19 -03:00
igorrCarvalho
8461eec180
Refactor: Move texts to constants files
2024-02-27 15:46:07 -03:00
Gabriel Luiz Freitas Almeida
223db74410
Add run_id to VerticesOrderTypeAPI
2024-02-27 15:37:56 -03:00
Gabriel Luiz Freitas Almeida
ce32f49a2e
Refactor ChatInput and ChatOutput components
2024-02-27 15:34:25 -03:00
Gabriel Luiz Freitas Almeida
99803c53f7
Add run_id to VerticesOrderResponse
2024-02-27 15:30:47 -03:00
Gabriel Luiz Freitas Almeida
3a3ffba6bd
Remove unused prompt.py file
2024-02-27 14:55:23 -03:00
igorrCarvalho
12d9aea932
Fix: left tab dont scroll on chat view
2024-02-27 14:48:23 -03:00
igorrCarvalho
952561d628
Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration
2024-02-27 14:09:48 -03:00
igorrCarvalho
6da52d3b13
Feat: add Copy to node toolbar
2024-02-27 14:09:40 -03:00
Gabriel Luiz Freitas Almeida
bf9fd0130e
Remove commented code in schemas.py
2024-02-27 13:57:05 -03:00
Gabriel Luiz Freitas Almeida
d5600f5304
Update VertexStates enum to inherit from str in base.py
2024-02-27 13:46:17 -03:00
Gabriel Luiz Freitas Almeida
0d215c67f5
Add RunResponse schema
2024-02-27 13:46:09 -03:00
Gabriel Luiz Freitas Almeida
c26175aede
Add new run_flow_with_caching endpoint
2024-02-27 13:46:00 -03:00
Gabriel Luiz Freitas Almeida
31fc5c4be0
Add session_id check in Vertex class
2024-02-27 13:45:02 -03:00
Gabriel Luiz Freitas Almeida
5a39af29a3
Update process.py with import statements and formatting improvements
2024-02-27 13:44:38 -03:00
Gabriel Luiz Freitas Almeida
e02b477fc9
Add new process method and vertices lists
2024-02-27 13:44:30 -03:00
Gabriel Luiz Freitas Almeida
53af441ec9
Update field name in FrontendNode class
2024-02-27 12:55:42 -03:00
Gabriel Luiz Freitas Almeida
e2e6f80461
Update input variable names in build functions
2024-02-27 12:55:34 -03:00
Gabriel Luiz Freitas Almeida
f6e7fa6374
Refactor build_vertex function in chat.py
2024-02-27 11:38:09 -03:00
Gabriel Luiz Freitas Almeida
acfb9b1061
Add serialize_field function to handle serialization of BaseModel and Document types
2024-02-27 11:38:03 -03:00
Gabriel Luiz Freitas Almeida
073e4b7ccf
Add input and output definitions to Graph class
2024-02-27 11:37:53 -03:00
Gabriel Luiz Freitas Almeida
04de488ede
Refactor vertex class and update build process
2024-02-27 11:37:44 -03:00
Gabriel Luiz Freitas Almeida
9beadd70f1
Move ResultData to graph
2024-02-27 11:37:27 -03:00
Gabriel Luiz Freitas Almeida
b7e52f62be
Refactor API schemas and update dependencies
2024-02-27 11:36:58 -03:00
Gabriel Luiz Freitas Almeida
e4ffe4b9d4
Use vertex instead of outgoing edges
2024-02-27 11:36:28 -03:00
Gabriel Luiz Freitas Almeida
7dbffe6331
Add is_input and is_output attributes to CustomComponent and FrontendNode classes
2024-02-27 11:36:06 -03:00
Gabriel Luiz Freitas Almeida
fef68c30a8
Refactor chat message handling in newChatView
2024-02-27 11:35:27 -03:00
Gabriel Luiz Freitas Almeida
1df99008a1
Fix vertex building error and improve vertex data comparison
2024-02-26 23:03:16 -03:00
Gabriel Luiz Freitas Almeida
c786e9970d
Format exception message
2024-02-26 23:01:20 -03:00
Gabriel Luiz Freitas Almeida
19d0da7f74
Update TextInput field_config to support multiline input
2024-02-26 22:05:31 -03:00