Commit graph

12,038 commits

Author SHA1 Message Date
ogabrielluiz
599ef9cc73 refactor: Add MultilineMixin to StrInput for multiline input support and adapt validation 2024-06-18 22:11:06 -03:00
ogabrielluiz
01027cb7a3 🐛 (loading.py): Fix bug where custom component outputs and results were not properly assigned
🐛 (base.py): Fix issue where outputs were not initialized causing potential errors
2024-06-18 21:25:04 -03:00
ogabrielluiz
ba835dc16f refactor: Improve endpoint name uniqueness handling in create_flow function 2024-06-18 21:24:22 -03:00
ogabrielluiz
669237cbd9 refactor: Set user agent for API calls in base settings
The code changes in `base.py` add a `user_agent` attribute to the `Settings` class and a corresponding class method `set_user_agent` to set the user agent for API calls. If the `user_agent` is not provided, it defaults to "langflow". The method also updates the `USER_AGENT` environment variable and logs the new value. This refactor improves the flexibility and maintainability of the code. The commit message follows the established convention of using a prefix to indicate the type of change.
2024-06-18 21:03:43 -03:00
ogabrielluiz
22e3c86df7 chore: Update chat.py to set cache before closing stream
The code changes in `chat.py` update the `build_vertex_stream` function to set the cache using `chat_service.set_cache` before closing the stream. This ensures that the cache is updated with the latest data before the stream is closed. The commit message follows the established convention of using a prefix to indicate the type of change.
2024-06-18 20:48:08 -03:00
ogabrielluiz
decb741e13 🐛 (types.py): Fix get_edge_with_target method to return a Generator instead of a single ContractEdge instance
🐛 (types.py): Fix _get_result method to handle multiple edges with the same target_id
📝 (types.py): Add comments to clarify the purpose of setting the result in the vertex of origin
2024-06-18 20:47:58 -03:00
anovazzi1
63c38437d1 update background on prompt 2024-06-18 20:30:34 -03:00
anovazzi1
6488d27421 fix frozen ui 2024-06-18 20:02:26 -03:00
anovazzi1
0f8b1c729c Adjust initial width 2024-06-18 19:50:55 -03:00
igorrCarvalho
653e52b2df Refactor: Change color of output textbox to Muted 2024-06-18 19:35:46 -03:00
igorrCarvalho
8bbb457096 Refactor: remove log out if the user is using auto login 2024-06-18 19:29:02 -03:00
ogabrielluiz
6266d2201c refactor: Update typing imports in inputs.py
The code changes in `inputs.py` update the typing imports to include `AsyncIterator` and `Iterator` in the `typing` module. This ensures that the correct types are used for certain variables in the code. The commit message follows the established convention of using a prefix to indicate the type of change.
2024-06-18 19:20:45 -03:00
ogabrielluiz
c51e311aa5 feat: Initialize component inputs with default values
The code changes in `component.py` initialize component inputs with default values if they are not provided. This ensures that the inputs are always set, even if they are not explicitly passed. Additionally, the commit message follows the established convention of using a prefix to indicate the type of change.
2024-06-18 19:17:16 -03:00
ogabrielluiz
dde81e1954 refactor: Update Graph class to include cached results in vertex objects 2024-06-18 19:15:10 -03:00
anovazzi1
ab71831ca9 update no output message 2024-06-18 19:12:34 -03:00
ogabrielluiz
d17f957411 refactor: Remove unnecessary dependencies in simplified_run_flow endpoint 2024-06-18 19:03:55 -03:00
ogabrielluiz
d07ee5964f refactor: Update data folder path in conftest.py 2024-06-18 19:03:48 -03:00
ogabrielluiz
c3a45b856b move data folder back 2024-06-18 18:47:04 -03:00
ogabrielluiz
b286d06359 📝 (message.py): add logging using loguru to warn about missing required keys in Message class and default to HumanMessage if keys are missing 2024-06-18 18:42:42 -03:00
ogabrielluiz
235ebd1a07 Update projects 2024-06-18 18:38:26 -03:00
ogabrielluiz
7145c93d6c ♻️ (Prompt.py): refactor code to simplify prompt text assignment in PromptComponent class 2024-06-18 18:37:46 -03:00
ogabrielluiz
7fbd9f0cc6 refactor: Add file input to ChatInput component 2024-06-18 18:37:33 -03:00
ogabrielluiz
418b32a616 Remove Prompt 2024-06-18 18:37:20 -03:00
ogabrielluiz
15aa6031b8 refactor: Update Vertex class to handle field initialization for list types 2024-06-18 18:36:32 -03:00
ogabrielluiz
80c3d5a1da 🐛 (data.py): fix issue where setting a model field value was not updating the data dictionary in the Data class 2024-06-18 18:36:15 -03:00
ogabrielluiz
dbb816abf9 update projects 2024-06-18 17:53:55 -03:00
ogabrielluiz
639a2cea28 refactor: Remove unnecessary code in PromptComponent 2024-06-18 17:50:16 -03:00
italojohnny
a9bf4ffa5f add files to chatinput component 2024-06-18 17:08:52 -03:00
Rodrigo
d5f73dab70 refactor: Update PromptComponent to correctly set the status message and improve code structure 2024-06-18 17:02:42 -03:00
cristhianzl
a07224f30d refactor: Update TableAutoCellRender component to adjust cell height and width for success and error values 2024-06-18 16:35:45 -03:00
ogabrielluiz
4858e3d131 refactor: Update StrInput validation logic to handle list values and improve code structure 2024-06-18 16:02:12 -03:00
ogabrielluiz
1aacc8d116 ♻️ (flowStore.ts): fix updateBuildStatus function to correctly update the flowBuildStatus and improve code structure 2024-06-18 16:02:03 -03:00
cristhianzl
27d3bca082 (twoEdges.spec.ts): update end-to-end test to reflect UI changes and improve test reliability 2024-06-18 15:40:54 -03:00
anovazzi1
b261b6d188 fix markdown bug 2024-06-18 15:08:48 -03:00
ogabrielluiz
e09e023b00 refactor: Remove unused import in message.py 2024-06-18 15:01:23 -03:00
ogabrielluiz
ecac10e416 refactor: Update ChatLiteLLMModelComponent to use Message from langflow.schema.message 2024-06-18 15:00:31 -03:00
ogabrielluiz
c04cdb3412 refactor: Update ChatLiteLLMModelComponent to use Message from langflow.schema.message 2024-06-18 15:00:19 -03:00
ogabrielluiz
584cd59961 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-18 14:51:19 -03:00
ogabrielluiz
549b420545 refactor: Add method to get root of group node in Graph class 2024-06-18 14:10:40 -03:00
anovazzi1
30ee9d1809 Merge branch 'two_edges' of personal:langflow-ai/langflow into two_edges 2024-06-18 13:30:03 -03:00
anovazzi1
836e874f22 make all table texts clicable 2024-06-18 13:29:18 -03:00
ogabrielluiz
db67e72755 refactor: Handle different types of component_instance status in schema.py 2024-06-18 13:22:53 -03:00
ogabrielluiz
fc2f721312 ♻️ (OpenAIModel.py): refactor code to handle empty output_schema list and prevent TypeError when reducing it to a dictionary 2024-06-18 13:07:52 -03:00
ogabrielluiz
d4ae7035a1 refactor: Simplify retrieving messages as text in MemoryComponent 2024-06-18 13:07:52 -03:00
anovazzi1
cc7a08c52a Merge branch 'two_edges' of personal:langflow-ai/langflow into two_edges 2024-06-18 13:04:45 -03:00
anovazzi1
b46d68ebc5 fix group shortcut 2024-06-18 13:04:24 -03:00
ogabrielluiz
ba354ae119 ♻️ (schema.py): refactor code to handle different types of component_instance status and retrieve output results accordingly 2024-06-18 12:59:10 -03:00
ogabrielluiz
ccf63c98ff 🐛 (Chroma.py): Fix passing limit parameter to chroma_collection_to_data method to correctly retrieve data from Chroma vector store 2024-06-18 12:58:45 -03:00
Rodrigo
24c5275899 refactor: Add SelectivePassThroughComponent to experimental components and update ChromaVectorStoreComponent 2024-06-18 12:55:50 -03:00
anovazzi1
6953b73d1f refactor: Update TextModal component to include icon and improve header description 2024-06-18 12:48:50 -03:00