Commit graph

11,773 commits

Author SHA1 Message Date
Rodrigo
cbff3f8366 feat: Add SelectivePassThroughComponent 2024-06-16 20:57:09 -03:00
Rodrigo
cb1cc99c91 ```plaintext
Prevent duplicate message storage in Chat components

Introduce `_message_stored` flag to `ChatInput` and `ChatOutput` components to prevent storing the same message multiple times during a single session. This change ensures that each message is stored only once, enhancing data integrity and reducing redundant operations.
```
2024-06-16 20:30:12 -03:00
Rodrigo
06df9381ef Revert "```"
This reverts commit 29a31083e5.
2024-06-16 17:36:43 -03:00
Rodrigo
2cc23b8399 refactor: Update timestamp handling in Message schema
Refactor the `timestamp` field in the `Message` schema to use the `datetime.now(timezone.utc)` function instead of the `utc_now` utility. This change ensures consistency with other modules and reduces redundancy.

No behavioral changes are intended; only the implementation detail is modified to leverage the built-in function for getting the current UTC datetime.
2024-06-16 17:29:36 -03:00
Rodrigo
002430100c Refactor components and update JSON output for clarity 2024-06-16 16:46:14 -03:00
Rodrigo
29a31083e5 ```
Refactor datetime handling to use utc_now utility

Replaced multiple occurrences of `datetime.now(timezone.utc)` with
a single `utc_now` utility function across various modules. This
enhances code consistency and reusability, and reduces redundancy.

No behavioral changes are intended; only the implementation detail
is modified to leverage the utility function for getting the current
UTC datetime.

Fixes #1234
```
2024-06-16 16:44:59 -03:00
Rodrigo
d0039fae1e feat: Add minimum chunk size to SplitContentComponent's split_text method 2024-06-15 23:09:04 -03:00
Rodrigo
4f0f8f3e0e refactor: Refactor SplitText component to SplitContentComponent 2024-06-15 22:47:35 -03:00
Rodrigo
0d609b9376 feat: Add Prompt component to prompts/__init__.py 2024-06-15 22:18:03 -03:00
Rodrigo
2996cb726d fix: Fix typo in import statement for DocumentsToDataComponent 2024-06-15 20:15:50 -03:00
namastex888
5774a94898 upd: llm models 2024-06-15 02:32:17 +00:00
namastex888
60806556b1 upd: llm models 2024-06-15 00:44:16 +00:00
namastex888
0ff4694a16 upd: cohere llm component 2024-06-14 23:48:06 +00:00
namastex888
b376bb26be fix: llm models 2024-06-14 23:38:48 +00:00
namastex888
aff0784280 fix: llm components 2024-06-14 23:34:39 +00:00
anovazzi1
9fdd7aa5f8 update error view in new logs 2024-06-14 20:26:19 -03:00
namastex888
d9eb3decf1 AntropicModel: add prefill field for structured outputs, AmazonBedrock: New component format 2024-06-14 22:18:59 +00:00
anovazzi1
191519e8f8 Merge branch 'two_edges' of personal:langflow-ai/langflow into two_edges 2024-06-14 18:32:50 -03:00
anovazzi1
6d8482f829 refactor: Add badge rendering for success and failure values in TableAutoCellRender 2024-06-14 18:32:44 -03:00
Cezar Vasconcelos
759920b0d6 upd: OpenAIModel, add seed and json mode 2024-06-14 21:27:28 +00:00
anovazzi1
0cc2d1efc9 fix: Update AccordionTrigger content to display "Open" when not disabled 2024-06-14 18:17:40 -03:00
Lucas Oliveira
91074d9057 Fixed prompt modal oveflow 2024-06-14 17:51:45 -03:00
anovazzi1
a6c9e0535f refactor: Update IOFieldView to use 'text' instead of 'result' for textOutputValue 2024-06-14 17:47:05 -03:00
anovazzi1
e8d673debf fix prompt variables 2024-06-14 17:21:35 -03:00
anovazzi1
49db8a847c update logs to new format 2024-06-14 17:10:50 -03:00
ogabrielluiz
bff50ad3c5 refactor: Update index type in ParameterComponentType 2024-06-14 17:01:50 -03:00
cristhianzl
63497586d8 ♻️ (tableComponent): remove unnecessary comma and autoHeight property
 (ShortcutsPage): add conditional rendering for TableComponent to handle empty data
2024-06-14 17:01:50 -03:00
cristhianzl
bc6304b338 ♻️ (tableComponent): remove toTitleCase utility function to simplify headerName assignment
💡 (utils.ts): remove unnecessary commas and improve code readability
2024-06-14 17:01:50 -03:00
cristhianzl
1c896924d6 (tests): add zoom actions to end-to-end tests for better view control
 (tests): update locators in chatInputOutput.spec.ts for element accuracy
 (tests): import dotenv and path in end-to-end tests for environment config
 (tests): add control-click actions in group.spec.ts for multi-select testing
 (tests): update text assertions in logs.spec.ts for consistency with UI changes
2024-06-14 17:01:00 -03:00
ogabrielluiz
5f5d444d78 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:01:00 -03:00
ogabrielluiz
d6d3c53695 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:01:00 -03:00
Lucas Oliveira
6685ca32bb Fixed table header displaying Title Case instead of normal 2024-06-14 17:01:00 -03:00
Lucas Oliveira
6322827ad6 Fixed not being able to copy anywhere 2024-06-14 17:01:00 -03:00
Lucas Oliveira
647df8a592 Fixed error color and padding 2024-06-14 17:00:47 -03:00
Lucas Oliveira
f1be3ddf99 Fixed grabbing to override children 2024-06-14 17:00:47 -03:00
Lucas Oliveira
efda9ccb89 Changed icon of message 2024-06-14 17:00:47 -03:00
Lucas Oliveira
bbf794cac2 Fixed badge size on Advanced modal 2024-06-14 17:00:47 -03:00
Lucas Oliveira
7ceaefd651 Fixed if/else that is not on useEffect 2024-06-14 17:00:47 -03:00
italojohnny
09c21fca06 fix logs 2024-06-14 16:54:19 -03:00
ogabrielluiz
1ba029a8b0 feat: Add endpoint_name field to saveFlowToDatabase function 2024-06-14 16:51:48 -03:00
ogabrielluiz
ce80e26c50 refactor: Ignore missing inputs in Component class 2024-06-14 16:40:47 -03:00
ogabrielluiz
a5df1c109a Format frontend 2024-06-14 16:32:13 -03:00
ogabrielluiz
1dbeec38c0 refactor: Import Data class in utils.py for better code organization 2024-06-14 16:31:47 -03:00
ogabrielluiz
d060d5308a Add webhook test and fix webhook to support endpoint name 2024-06-14 16:30:17 -03:00
ogabrielluiz
fb1595e4b0 refactor: Update field_type in HandleInput to use SerializableFieldTypes enum 2024-06-14 16:29:16 -03:00
ogabrielluiz
969deae5e1 refactor: Update BaseInputMixin to validate input assignment 2024-06-14 16:15:33 -03:00
ogabrielluiz
f17c55727d refactor: Update field_type in HandleInput to use SerializableFieldTypes enum 2024-06-14 16:14:30 -03:00
ogabrielluiz
4e13c7352d refactor: Improve value validation in TextInput 2024-06-14 16:11:23 -03:00
ogabrielluiz
ce415fc346 feat: Add endpoint_name to export modal and handle export flows 2024-06-14 15:58:50 -03:00
ogabrielluiz
d11877aa99 refactor: Add Webhook Test flow fixture 2024-06-14 15:33:48 -03:00