Gabriel Almeida
bd9bf69add
Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev
2023-05-02 15:11:43 -03:00
Gabriel Almeida
7dddd641cf
refactor(agents): change tool_names from set to list
...
This commit changes the `tool_names` variable from a set to a list in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, `VectorStoreRouterAgent`, `MalfoyAgent`, and `load_agent_executor_from_config` classes. This is done to ensure that the `tool_names` variable is always a list, even when there is only one tool.
2023-05-02 15:11:32 -03:00
Gabriel Luiz Freitas Almeida
9a1fd28ad7
Merge branch 'main' into dev
2023-05-02 18:08:24 +00:00
Gabriel Almeida
4c82c62410
chore(pyproject.toml): update package version from 0.0.67 to 0.0.68
2023-05-02 15:05:32 -03:00
Gabriel Almeida
d79f655d88
refactor(loading.py): use get method to set allowed_tools to an empty list if it is not present in params dictionary
2023-05-02 15:04:28 -03:00
Gabriel Almeida
9ffa88a773
feat(chatModal): add support for secure websockets (wss) in production environment
2023-05-02 15:04:01 -03:00
Gabriel Almeida
8e1cb1d732
refactor(util.py): add support for Sequence and Set types in format_dict function
2023-05-02 13:12:03 -03:00
Gabriel Luiz Freitas Almeida
211c875c19
Fix to allowed_tools ( #235 )
2023-05-02 14:55:14 +00:00
Gabriel Luiz Freitas Almeida
b3a911c94b
Merge branch 'main' into dev
2023-05-02 14:55:07 +00:00
Gabriel Almeida
016091d3b1
chore(pyproject.toml): update package version from 0.0.66 to 0.0.67
2023-05-02 11:48:43 -03:00
Gabriel Almeida
13e58b55b3
refactor(tests): change 'advanced' field to False in all tests templates
2023-05-02 11:48:00 -03:00
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