Commit graph

8,745 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
6c2a35afb1 Refactor model components to support streaming 2024-02-27 22:44:50 -03:00
Gabriel Luiz Freitas Almeida
13317d61e2 Refactor build_vertex_stream function to handle session_id parameter 2024-02-27 22:37:55 -03:00
Gabriel Luiz Freitas Almeida
fb797a7eea Fix run_graph function call in endpoints.py 2024-02-27 22:37:48 -03:00
Gabriel Luiz Freitas Almeida
8dd3cccfbe Refactor run_graph function to generate session_id if not provided 2024-02-27 22:37:38 -03:00
Gabriel Luiz Freitas Almeida
0a77490f8c Update input field names in model components 2024-02-27 22:03:40 -03:00
Gabriel Luiz Freitas Almeida
557282cea5 Refactor imports and remove console.log statements 2024-02-27 21:50:34 -03:00
Gabriel Luiz Freitas Almeida
cf35b42b8e Refactor newChatView component 2024-02-27 21:50:27 -03:00
anovazzi1
5c5883f58f Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-27 21:46:10 -03:00
anovazzi1
a2eaed1af3 Update sender value in updateFlowPool function 2024-02-27 21:46:06 -03:00
Gabriel Luiz Freitas Almeida
b55be2aba0 Refactor ChatVertex to include streaming capability 2024-02-27 21:26:18 -03:00
Gabriel Luiz Freitas Almeida
a9d183bab0 Refactor typing imports and add 'will_stream' attribute to Vertex class 2024-02-27 21:25:37 -03:00
Gabriel Luiz Freitas Almeida
116518202c Refactor vertex streaming logic in build_vertex_stream function 2024-02-27 21:25:27 -03:00
igorrCarvalho
9af9647fb3 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-02-27 21:05:15 -03:00
igorrCarvalho
e7c37fea4f Feat: Add Ctrl D and Ctrl P keyboard shortcuts 2024-02-27 21:05:09 -03:00
anovazzi1
e79c5771ee Add setLockChat prop to ChatMessage component 2024-02-27 20:58:03 -03:00
anovazzi1
0b1336988f Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-27 20:50:24 -03:00
anovazzi1
42338a829b Fix useRef typo and update chat message reference 2024-02-27 20:50:22 -03:00
Gabriel Luiz Freitas Almeida
b42caa27ad Add LANGFLOW_LOG_LEVEL debug to launch.json 2024-02-27 20:40:58 -03:00
Gabriel Luiz Freitas Almeida
34d48992d5 Refactor chat.py to support vertex streaming 2024-02-27 20:40:57 -03:00
Gabriel Luiz Freitas Almeida
12fe2ffbe6 Update langflow.graph.schema import 2024-02-27 20:40:57 -03:00
Gabriel Luiz Freitas Almeida
8b7ee72252 Refactor ChatVertex class to update artifacts and params 2024-02-27 20:40:56 -03:00
Gabriel Luiz Freitas Almeida
b2549d92fc Refactor custom component building functions 2024-02-27 20:40:55 -03:00
Gabriel Luiz Freitas Almeida
915de79cf2 Refactor logger configuration logic 2024-02-27 20:40:54 -03:00
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