Commit graph

1,135 commits

Author SHA1 Message Date
Gabriel Almeida
c623b02bf2 refactor(loading.py): make allowed_tools a list if it's not already a list or set 2023-05-02 11:29:38 -03:00
Gabriel Luiz Freitas Almeida
5715fe977a
Hotfix to websocket url (#234) 2023-05-02 14:01:20 +00:00
Gabriel Luiz Freitas Almeida
69d75e05f1
Merge branch 'main' into dev 2023-05-02 13:59:28 +00:00
Gabriel Almeida
4eea69c563 refactor(agents, loading): change tool_names from list to set
This commit changes the `tool_names` variable from a list to a set in several
places in the codebase. This is done to improve performance and readability
since the `tool_names` variable is used as a set in the code. The affected
files are `custom.py`, `prebuilt.py`, and `loading.py`.
2023-05-02 10:56:01 -03:00
Gabriel Almeida
df119f6dd4 chore(pyproject.toml): update package version from 0.0.65 to 0.0.66 2023-05-02 10:41:42 -03:00
Gabriel Almeida
385de55c92 fix(chatModal): change wss to ws in production environment WebSocket URL
Probable fix to #232
2023-05-02 10:40:16 -03:00
Gabriel Almeida
96ef8fd657 refactor(loading.py): remove unused imports and add validation for class_object parameters that are not in __fields__ attribute. 2023-05-01 22:52:17 -03:00
Gabriel Almeida
7ba827e9fc feat(pyproject.toml): add tiktoken dependency to the project 2023-05-01 22:52:09 -03:00
Gabriel Luiz Freitas Almeida
c20369e04b
Hotfix (#231)
Deactivate advanced fields until improved field processing.
2023-05-01 22:54:05 +00:00
Gabriel Luiz Freitas Almeida
163efc97fd
Merge branch 'main' into dev 2023-05-01 22:44:33 +00:00
Gabriel Almeida
ca3c79267f chore(pyproject.toml): update package version from 0.0.64 to 0.0.65 2023-05-01 19:40:44 -03:00
Gabriel Almeida
a44f6123a3 refactor(base.py): change default value of advanced field from True to False in TemplateFieldCreator class 2023-05-01 19:39:02 -03:00
Gabriel Luiz Freitas Almeida
007ebde325
fix tests to comply with updates and hotfixes (#230) 2023-05-01 22:34:53 +00:00
Gabriel Luiz Freitas Almeida
00a766f314
Merge branch 'main' into dev 2023-05-01 22:26:03 +00:00
Gabriel Luiz Freitas Almeida
951a785d18
Fix LangChain imports (#229) 2023-05-01 22:23:51 +00:00
Gabriel Almeida
5ebf71116d feat(nodes.py): make "llm" field required and show it in the frontend 2023-05-01 19:16:36 -03:00
Gabriel Almeida
5d424474f2 fix(util.py): handle ValueError when parsing tool name and description from ast.literal_eval() 2023-05-01 18:55:35 -03:00
Gabriel Almeida
811c3f75cf fix(utils.py): import statement for AsyncCallbackManager was incorrect, changed from langchain.callbacks.base to langchain.callbacks.manager 2023-05-01 18:55:27 -03:00
Gabriel Almeida
b67aed11b3 chore(pyproject.toml): update package version from 0.0.63 to 0.0.64 2023-05-01 18:41:33 -03:00
Gabriel Almeida
cc3841c9bf refactor(agents): import BaseLanguageModel from base_language module instead of schema module 2023-05-01 18:40:24 -03:00
Gabriel Almeida
2b6f70fdb4 fix tests to comply with updates 2023-04-29 19:48:59 -03:00
Gabriel Luiz Freitas Almeida
f413a5c200
Layout hotfixes (#223) 2023-04-29 22:43:00 +00:00
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