Commit graph

1,063 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
7eb7ff6d7f
Merge branch 'main' into dev 2023-04-29 22:38:07 +00:00
Gabriel Almeida
dfb06af7e0 bump to 0.0.63 2023-04-29 19:36:52 -03:00
Gabriel Almeida
f0ba11c840 other template fixes 2023-04-29 19:35:10 -03:00
Gabriel Almeida
17c58fd70d fixed api key fields 2023-04-29 19:27:38 -03:00
Gabriel Almeida
2097c7cf4d Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-04-29 19:23:14 -03:00
Gabriel Almeida
79a18b8c40 fix nodes advanced param 2023-04-29 19:23:12 -03:00
Gabriel Luiz Freitas Almeida
ed4d6dbea9
Hotfix bug on import from local (#222) 2023-04-29 20:31:08 +00:00
Gabriel Luiz Freitas Almeida
492b7e0e5c
Merge branch 'main' into dev 2023-04-29 20:23:40 +00:00
Gabriel Almeida
42c30b1cf3 bump to 0.0.62 2023-04-29 17:21:31 -03:00
anovazzi1
b25135fae2 fix bug on import from local 2023-04-29 17:18:51 -03:00
anovazzi1
5c3f7acd7c
Release: Chat and Cache Improvements, Websocket Integration, and Dark Mode Enhancements 🌙 (#220)
This release brings a series of new features and improvements,
including:
- 💬 Chat and Cache Improvements:
- Refactored cache-related functions and moved them to a new base.py
module
  - Simplified the Chat component and added chat history support
  - Implemented the ability to send file responses in chat
  - Real-time Node validation for improved user experience
- CacheManager was added to share data between tools and display them in
the chat.
- 🌐 Websocket Integration:
  - Implemented websocket connection for the chat (WIP)
- 🌙 Dark Mode Enhancements:
  - Fixed dark mode for dropdown components
  - Improved dark mode styling for the chat interface
  - Updated thought icon for dark mode
- 🚀 Other Improvements:
  - Migrated chat logic to chat modal
  - Implemented unique IDs for flow management
  - Sorted sidebar items for better organization
  - Removed unused imports and optimized codebase

This release enhances the overall user experience and streamlines chat
and cache functionalities, ensuring a smoother and more efficient
workflow. 🎉
2023-04-29 14:03:41 -03:00
Gabriel Almeida
0ab3d6b31c bump version to 0.0.61 2023-04-29 08:02:22 -03:00
Gabriel Luiz Freitas Almeida
f66c70f3e0
Chat_and_cache (#219) 2023-04-29 10:49:42 +00:00
Gabriel Almeida
ce82b7e611 remove unused imports 2023-04-29 07:38:27 -03:00
Gabriel Almeida
9a6e7cfc3f add test_cache_manager 2023-04-29 07:38:17 -03:00
Gabriel Almeida
ffb2aad45d fixes to tests 2023-04-29 07:38:06 -03:00
Gabriel Almeida
3a5b708d53 deactivate class params check for now 2023-04-29 07:37:32 -03:00
Gabriel Almeida
f3d50e9fea formatting 2023-04-29 07:37:16 -03:00
Gabriel Almeida
3ed0c35bdb fix: added deps for linting 2023-04-29 07:32:01 -03:00
anovazzi1
e87749d966 updade package.json and removed debounce 2023-04-29 01:29:15 -03:00
anovazzi1
8a169c9782 merged chat_and_cache into dev 2023-04-29 01:26:44 -03:00
anovazzi1
ed312f1011
Auto update nodes (#218)
This new feature will ensure that any changes made to a template will be
automatically reflected in all nodes related to that template. This will
save time and effort, as users will no longer need to manually update
each node individually. Additionally, this feature will help to reduce
the risk of errors and inconsistencies across nodes and flows.
To implement this feature, I have created a new function that checks the
last template related to each node and compares it with the current
template version. If there is a difference, the node will be
automatically updated with the latest version of the template.
2023-04-29 01:10:39 -03:00
anovazzi1
b206a5bbe5 Merge branch 'dev' into autoUpdateNodes 2023-04-29 01:07:03 -03:00
Gabriel Luiz Freitas Almeida
5489717dab
Node modal (#174) 2023-04-29 04:02:08 +00:00
Gabriel Luiz Freitas Almeida
eebe5d3643
Merge branch 'dev' into autoUpdateNodes 2023-04-29 03:53:34 +00:00
Gabriel Almeida
8d5adbf266 fix: tests 2023-04-29 00:36:06 -03:00
anovazzi1
93b5a8e327 sorted side bar 2023-04-28 23:53:37 -03:00
anovazzi1
3995a8bd5a Merge branch 'chat_and_cache' of personal:logspace-ai/langflow into chat_and_cache 2023-04-28 23:42:06 -03:00
anovazzi1
cccf992786 update thought icon for dark mode 2023-04-28 23:41:49 -03:00
Gabriel Almeida
1c35179aec refactor(nodes.py): remove unnecessary else statement in ChainFrontendNode class 2023-04-28 23:38:36 -03:00
Gabriel Almeida
5aa71e83fb chore(frontend): update backend proxy to use container name instead of IP address 2023-04-28 23:33:49 -03:00
Gabriel Almeida
659491f9a2 feat(langflow): add function support to build_template_from_class function
feat(langflow): add function base class to InitializeAgentNode

The `build_template_from_class` function in `ChainCreator` now supports adding a function to the chain. This is done by passing `add_function=True` to the function.

In `InitializeAgentNode`, the `base_classes` attribute has been updated to include the `function` base class. This allows the node to be used as a function in the chain.
2023-04-28 23:30:12 -03:00
anovazzi1
d4d8418c13 dark mode fixed on chat 2023-04-28 23:10:46 -03:00
anovazzi1
f97586813c fixed validation 2023-04-28 23:03:13 -03:00
Gabriel Almeida
c3dffa3508 feat(chat_manager.py): add empty_history method to ChatHistory class
fix(chat_manager.py): empty chat history for a client when an exception is raised
fix(GenericNode): fix useEffect dependencies to avoid unnecessary re-renders
2023-04-28 20:31:53 -03:00
Gabriel Almeida
177ffb3ea5 Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-28 20:10:57 -03:00
Gabriel Almeida
c5d09f0e88 refactor(nodes.py): set advanced field to False for fields other than prompt in ChainFrontendNode class 2023-04-28 20:07:59 -03:00
anovazzi1
ccd8a3fe09 check advanced on node too 2023-04-28 20:02:37 -03:00
anovazzi1
8943de2575 check advanced on node too 2023-04-28 19:59:52 -03:00
anovazzi1
8d29bd1b0a hide advanced icon if all the fields aren't advancedand show true 2023-04-28 19:46:53 -03:00
anovazzi1
733f62defb remove error on console 2023-04-28 19:44:15 -03:00
anovazzi1
cfe74e6765 Merge branch 'NodeModal' of personal:logspace-ai/langflow into NodeModal 2023-04-28 19:41:26 -03:00
anovazzi1
11b82aa556 hide advanced icon if all the fields aren't advanced 2023-04-28 19:41:17 -03:00
Gabriel Almeida
f3d385b8e5 feat(tests): add "advanced" field to all template objects in test files
feat(tests): add 'advanced' field to template properties in test files
2023-04-28 19:18:17 -03:00
Gabriel Almeida
0fd8f73c08 refactor(langflow): set advanced flag to True for TemplateFieldCreator class
refactor(langflow): set advanced flag to False for LLMFrontendNode class' api key field
feat(langflow): add show flag to LLMFrontendNode class' model_kwargs field
refactor(langflow): set advanced flag to False and show flag to True for LLMFrontendNode class' model_name and temperature fields
2023-04-28 19:17:38 -03:00
anovazzi1
cde48131e3 fix bug on event prevent default 2023-04-28 17:59:23 -03:00
Gabriel Almeida
8e2342cf21 feat(loading.py): add validation for pydantic BaseModel subclasses
This commit adds validation for pydantic BaseModel subclasses in the
instantiate_class function. The function now checks if the class_object
is a subclass of BaseModel and if so, it validates the params passed to
it against the fields of the class_object.
2023-04-28 17:22:51 -03:00
Aaron ("AJ") Steers
be9497718f docs: add readme guide 2023-04-28 18:56:16 +00:00
Aaron ("AJ") Steers
9252d34d04 chore: autoformat 2023-04-28 18:56:16 +00:00
Aaron ("AJ") Steers
88fabf93b0 chore: rename base devcontainer, add dind, add postcreate poetry install 2023-04-28 18:56:16 +00:00