Commit graph

11,310 commits

Author SHA1 Message Date
Lucas Oliveira
752ae3a41b Changed from API Keys to Langflow API 2024-06-10 18:57:15 -03:00
Lucas Oliveira
2113e32d84 Merge remote-tracking branch 'origin/cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 18:50:46 -03:00
Rodrigo
b5b02e8a95 feat: Add Message and StoreMessage components
The code changes introduce two new components, `MessageComponent` and `StoreMessageComponent`, to the `langflow` project.

The `MessageComponent` creates a `Message` object given a session ID, allowing for the creation of chat messages with customizable sender type, sender name, and text.

The `StoreMessageComponent` stores a chat message, utilizing the `store_message` function and the `get_messages` function to retrieve the stored messages.

These changes aim to enhance the chat functionality of the project.
2024-06-10 18:48:09 -03:00
anovazzi1
2b6fec82bb refactor: Update ChatView component to handle different message formats 2024-06-10 18:30:56 -03:00
anovazzi1
862791f55d Merge branch 'cz/mergeAll' of personal:langflow-ai/langflow into cz/mergeAll 2024-06-10 18:06:36 -03:00
anovazzi1
6918fadaed refactor: Update TableComponent to call onGridReady after setting column state change flag 2024-06-10 18:06:30 -03:00
cristhianzl
965b18a4de Merge branch 'cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 18:04:12 -03:00
anovazzi1
e8ee275145 refactor: Store column definitions in local storage for the table 2024-06-10 18:03:00 -03:00
anovazzi1
bd04259b00 add storage to store column defs on the table 2024-06-10 18:01:37 -03:00
cristhianzl
bac28d94c2 Merge branch 'fix/minor_ui_adjustments' of https://github.com/langflow-ai/langflow into fix/minor_ui_adjustments 2024-06-10 17:33:47 -03:00
cristhianzl
035cf54d2f ♻️ (headerComponent): increase route history slice size to 100 for better navigation tracking
🐛 (locationStore): update route history limit to 100 to prevent excessive memory usage
2024-06-10 17:33:36 -03:00
Lucas Oliveira
7cb58b4992 Added type to global variables 2024-06-10 17:29:20 -03:00
Lucas Oliveira
b38e8d375f Fixed API modal overflow 2024-06-10 17:24:57 -03:00
Lucas Oliveira
2bbce3798c Fixed apiModal view 2024-06-10 17:24:32 -03:00
Lucas Oliveira
6985b179d9 Fixed margin on buttons 2024-06-10 17:24:32 -03:00
cristhianzl
17d3d177c1 Merge branch 'fix/minor_ui_adjustments' of https://github.com/langflow-ai/langflow into fix/minor_ui_adjustments 2024-06-10 17:23:27 -03:00
cristhianzl
d028d83d37 (frontend): add image preloading hook and suspense image component
- Add `usePreloadImages` hook to preload profile pictures
- Add `SuspenseImageComponent` for handling image loading with suspense
- Update `ProfilePictureChooserComponent` to use the new hook and component
2024-06-10 17:23:11 -03:00
Lucas Oliveira
8f3706b6b7 Changed label of Download Flow button 2024-06-10 17:12:06 -03:00
Lucas Oliveira
5f19ce9298 Added input component to dom and added event listener instead of setting onChange 2024-06-10 16:50:54 -03:00
italojohnny
827aec5139 fix: PydanticSerializationError 2024-06-10 16:16:21 -03:00
italojohnny
118da0d482 refactor to use DefaultModel as base class 2024-06-10 16:16:15 -03:00
italojohnny
876b26e1ac Add class with custom JSON serialization 2024-06-10 16:16:11 -03:00
Lucas Oliveira
1e1b40be65 Removed size, because default is not defined 2024-06-10 16:12:23 -03:00
Lucas Oliveira
427e2c4f73 Fixed modal size 2024-06-10 16:11:31 -03:00
Lucas Oliveira
8b209c2b1b Merge remote-tracking branch 'origin/cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 16:08:18 -03:00
Lucas Oliveira
f32277c1ce Disabled output if its not valid 2024-06-10 16:06:00 -03:00
Lucas Oliveira
c8ba001c54 Removed pagination when its on the left side, fixed bug on opening parameter if the record is not a list 2024-06-10 15:59:59 -03:00
Lucas Oliveira
9e14c4e34f Merge branch 'cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 15:46:45 -03:00
Lucas Oliveira
f19593bad8 Added gap to button 2024-06-10 15:45:42 -03:00
Lucas Oliveira
6cc04a2bef Fixed Memories badge overflow 2024-06-10 15:37:38 -03:00
ogabrielluiz
e6fefa680d Format tests and update prettier command 2024-06-10 15:23:52 -03:00
Lucas Oliveira
1f0d3a58c5 Fixed accordion not being disabled with no data on output 2024-06-10 15:22:31 -03:00
ogabrielluiz
1726561f39 format 2024-06-10 15:16:49 -03:00
Lucas Oliveira
6d89ea555d Fixed update shortcut not working 2024-06-10 14:58:13 -03:00
Lucas Oliveira
5cda2adc4d Added node play on hover of entire node again 2024-06-10 14:50:06 -03:00
Lucas Oliveira
c143ad5124 Fixed header not being aligned 2024-06-10 14:41:42 -03:00
ogabrielluiz
65773b424f refactor: Update .gitattributes to remove working-tree-encoding for .mdx and .json files 2024-06-10 14:30:27 -03:00
ogabrielluiz
f872a3e753 refactor: Update SelfQueryRetrieverComponent build method to handle different input types 2024-06-10 14:30:05 -03:00
ogabrielluiz
24e8da5086 refactor: Update ChromaComponent build method to allow duplicates in the Vector Store 2024-06-10 14:30:05 -03:00
ogabrielluiz
becdb49661 refactor: Rename 'document' variable to 'text' in chroma_collection_to_records function 2024-06-10 14:30:05 -03:00
Lucas Oliveira
986e67d389 Changed png to svg 2024-06-10 14:29:36 -03:00
Lucas Oliveira
6e3c40ddca Fixed import 2024-06-10 14:26:48 -03:00
Lucas Oliveira
1133529a8d Fixed scrollIntoView not working always 2024-06-10 14:15:52 -03:00
cristhianzl
e719f1746f Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-10 14:15:00 -03:00
cristhianzl
2f4ebb290a ♻️ (TableOptions): reorder imports for better readability
💄 (TableOptions): adjust gap between buttons for better UI spacing
💄 (TableOptions): update icon styles for better visual feedback
 (editNodeModal): add dark mode support for badge component
♻️ (editNodeModal): refactor function parameters for consistency
💄 (headerComponent): update icon hover color for better UX consistency
2024-06-10 14:14:39 -03:00
ogabrielluiz
6c27964edd 🐛 (custom_component.py): fix resolving path logic to handle empty path input and check if path parts exist before accessing the first part 2024-06-10 14:12:50 -03:00
ogabrielluiz
0de6c2a88f feat: Update Prompt class to assign formatted prompt to self.text 2024-06-10 14:12:32 -03:00
ogabrielluiz
f8aa1274fc (record.py): add __eq__ method to compare Record instances based on their data attribute 2024-06-10 14:12:24 -03:00
ogabrielluiz
6eac507eb9 feat: Update RecordsOutput build method to set status 2024-06-10 14:11:43 -03:00
ogabrielluiz
65037a43a5 refactor: Update session_id parameter in build_and_cache_graph_from_db function 2024-06-10 14:11:04 -03:00