Commit graph

5,549 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
976bbe509d 🔧 chore(Makefile): add 'make install_backend' command to the 'lint' target to ensure backend dependencies are installed before running checks 2023-10-25 16:03:16 -03:00
Gabriel Luiz Freitas Almeida
f6ab266294 🐛 fix(base.py): handle import errors when importing utilities to prevent application crashes
The code now handles import errors when importing utilities from the `langchain.utilities` module. If an import error occurs, the utility is skipped and not added to the `type_dict` dictionary. This prevents the application from crashing when encountering an invalid or missing utility.
2023-10-25 15:57:48 -03:00
Gabriel Luiz Freitas Almeida
49bcadf892
Feature: Dark Mode View (#1057) 2023-10-16 09:52:24 -03:00
Lucas Oliveira
6b972f20b7 Merge branch 'main' into feat/viewDark 2023-10-15 12:23:27 -03:00
Lucas Oliveira
8a5a6bc492 Added theme option to view page 2023-10-15 12:23:11 -03:00
Gabriel Luiz Freitas Almeida
4b6ff597a4
Release 0.5.3 (#1034) 2023-10-10 15:18:46 -03:00
Gabriel Luiz Freitas Almeida
2dca7c0d31
Merge branch 'main' into release 2023-10-10 15:14:26 -03:00
Gabriel Luiz Freitas Almeida
5b54b8f1f3 🔖 chore(pyproject.toml): bump version from 0.5.2 to 0.5.3 to reflect the latest changes in the package 2023-10-10 15:12:17 -03:00
Gabriel Luiz Freitas Almeida
9ac57786cb
Adds alembic initialization logic (#1033) 2023-10-10 15:08:52 -03:00
Gabriel Luiz Freitas Almeida
7ffe366fb8 🐛 fix(manager.py): fix incorrect check for alembic initialization and add proper error handling
 feat(manager.py): add support for initializing alembic if not already initialized before running migrations
2023-10-10 15:01:48 -03:00
Gabriel Luiz Freitas Almeida
9697e06ec9 🐛 fix(change_columns_to_be_nullable.py): add exception handling and rollback in case of SQLAlchemyError to prevent data loss during migration 2023-10-10 15:00:13 -03:00
Gabriel Luiz Freitas Almeida
1f6bd78e12
Fixes to minimize component (#1030) 2023-10-09 21:57:01 -03:00
Gabriel Luiz Freitas Almeida
7cebf06db1
Merge branch 'main' into release 2023-10-09 21:52:53 -03:00
Gabriel Luiz Freitas Almeida
8d104e3f51 🔖 chore(pyproject.toml): bump version from 0.5.1 to 0.5.2 to indicate a new release with updates 2023-10-09 21:51:44 -03:00
anovazzi1
5cd44bb288
Minimize node fixes (#1029)
Fix Filter edges and unknown handle showing up when node are minimized
2023-10-09 21:29:46 -03:00
anovazzi1
0718819a10 fix invalid json strings 2023-10-09 21:26:40 -03:00
anovazzi1
4a8caa609f remove console.log 2023-10-09 21:15:15 -03:00
anovazzi1
94b3aa88b9 add suport to drop collections 2023-10-09 21:13:42 -03:00
igorrCarvalho
e1107ffdf7 Remove blank space 2023-10-09 18:20:23 -03:00
igorrCarvalho
3fd7a3e4cd Fix: Add dict on verification to avoid unknown edge 2023-10-09 18:08:33 -03:00
igorrCarvalho
8e5dd6b0e3 Fix: Add onclick on minimized node to make filter edges work 2023-10-09 17:14:39 -03:00
Gabriel Luiz Freitas Almeida
b0385b78ff
🔀 chore(README.md): update GIF link to point to the correct branch (d… (#1027) 2023-10-09 11:34:26 -03:00
Gabriel Luiz Freitas Almeida
08c6e19055
Merge branch 'main' into release 2023-10-09 11:18:21 -03:00
Gabriel Luiz Freitas Almeida
0bac61c66f 🎨 style(index.mdx): update image source to use the correct image file
🗑️ chore(index.mdx): remove unused image file new_langflow2.gif
2023-10-09 11:17:21 -03:00
Gabriel Luiz Freitas Almeida
40eff45ffb
Fix CMD in Dockerfile (#1025) 2023-10-08 18:46:16 -03:00
Gabriel Luiz Freitas Almeida
32e45c6610 🐛 fix(Dockerfile): update CMD command to use 'run' subcommand for better clarity and consistency 2023-10-08 18:45:05 -03:00
Gabriel Luiz Freitas Almeida
84248110e1 🔀 chore(README.md): update GIF link to point to the correct branch (dev) to ensure the latest demo is displayed 2023-10-08 18:00:26 -03:00
Gabriel Luiz Freitas Almeida
3dd80396fb
Release 0.5.1: Fixes display prompt 2023-10-05 18:26:12 -03:00
Gabriel Luiz Freitas Almeida
122f611e29
Merge branch 'main' into release0.5.1 2023-10-05 18:23:43 -03:00
Gabriel Luiz Freitas Almeida
b0a2c5982d 🔖 chore(pyproject.toml): bump version from 0.5.0 to 0.5.1 to indicate a new release with updates and bug fixes 2023-10-05 18:21:44 -03:00
Gabriel Luiz Freitas Almeida
19586c4ec6
🐛 Fixes display prompt (#1015) 2023-10-05 18:20:51 -03:00
anovazzi1
56c2be5867 fix(api.tsx): remove unnecessary try-catch block and add error logging for better debugging
fix(index.ts): remove console.log statement for error logging
2023-10-05 18:04:21 -03:00
anovazzi1
03d12b53cd fix(formModal/index.tsx): update updateLastMessage function to include prompt value when data.type is "end"
fix(formModal/index.tsx): update template.current value when data.type is "prompt" and data.prompt is provided
fix(formModal/index.tsx): remove unnecessary updateLastMessage call when data.type is "stream" and isStream is true
2023-10-05 17:55:44 -03:00
Gabriel Luiz Freitas Almeida
57b9ab6843 🐛 fix(manager.py): change try-except block to if-elif block to improve code readability and maintainability 2023-10-05 17:41:10 -03:00
Gabriel Luiz Freitas Almeida
df8dd44a16 🐛 fix(manager.py): remove unnecessary exception handling and logging for JSON decoding error
🐛 fix(manager.py): fix condition for clearing chat history to only clear if "clear_history" key is present and its value is truthy
2023-10-05 17:39:56 -03:00
Gabriel Luiz Freitas Almeida
7eadd9c619
Release 0.5.0 (#1014) 2023-10-05 15:25:12 -03:00
Gabriel Luiz Freitas Almeida
a2e7a910ae
Enhanced Authentication System with Parallel Processing and UI Refinements (#966) 2023-10-05 14:56:51 -03:00
Gabriel Luiz Freitas Almeida
bc421d7557 🐛 fix(test_agents_template.py): set "required" field to True for the "tools" attribute in the template dictionary to enforce its presence 2023-10-04 17:46:45 -03:00
Gabriel Luiz Freitas Almeida
ed61bb5b8b 🔥 refactor(test_setup_superuser.py): remove unused import and function setup_superuser to improve code readability and maintainability 2023-10-04 17:43:56 -03:00
Gabriel Luiz Freitas Almeida
7e2bce6315 ⬆️ chore(pyproject.toml): update package versions and dependencies
- Update the version of the package "langflow" from "0.5.0b6" to "0.5.0" to indicate a stable release.
- Update the version of the package "fastapi" from "^0.100.0" to "^0.103.0" to use the latest version.
- Update the version of the package "uvicorn" from "^0.22.0" to "^0.23.0" to use the latest version.
- Update the version of the package "langchain" from "^0.0.306" to "^0.0.308" to use the latest version.
- Update the version of the package "tiktoken" from "~0.4.0" to "~0.5.0" to use the latest version.
- Update the version of the package "cohere" from "^4.21.0" to "^4.27.0" to use the latest version.
- Update the version of the package "alembic" from "^1.11.2" to "^1.12.0" to use the latest version.
- Update the version of the package "metal-sdk" from "^2.0.2" to "^2.2.0" to use the latest version.

These updates ensure that the project is using the latest versions of the dependencies and takes advantage of any bug fixes or new features introduced in the updated versions.
2023-10-04 17:43:15 -03:00
Gabriel Luiz Freitas Almeida
62fc19b1e6 🔧 fix(test_setup_superuser.py): comment out unused imports and test cases to improve code readability and maintainability 2023-10-04 17:42:52 -03:00
Gabriel Luiz Freitas Almeida
3183c52594 🔧 chore(constants.py): update CLASSES_TO_REMOVE list to include "RunnableSerializable" class
The "CLASSES_TO_REMOVE" list in the constants.py file has been updated to include the "RunnableSerializable" class. This change was made to ensure that the "RunnableSerializable" class is properly removed when processing the list of classes to remove.
2023-10-04 17:42:41 -03:00
Gabriel Luiz Freitas Almeida
537e1a3e05 🔧 chore(utils.py): refactor get_factories_and_deps function to improve code organization and readability
🔧 chore(utils.py): refactor initialize_services function to use the updated get_factories_and_deps function for better maintainability
2023-10-04 17:42:26 -03:00
Gabriel Luiz Freitas Almeida
79334a10de 🔧 chore(callback.py): refactor StreamingLLMCallbackHandler constructor to improve code readability and maintainability
🐛 fix(callback.py): assign websocket attribute from chat_service.active_connections to self.websocket to avoid potential bugs
2023-10-04 17:42:12 -03:00
Gabriel Luiz Freitas Almeida
0b2cfb3bbe 🐛 fix(agents.py): change 'required' attribute of 'Tool' field in InitializeAgentNode class from False to True to enforce its presence 2023-10-04 17:24:41 -03:00
Gabriel Luiz Freitas Almeida
75319a4579 🔧 chore(alembic): import sqlmodel module to satisfy linter and improve code readability 2023-10-04 15:44:29 -03:00
anovazzi1
c9724d0fb4 added custom component template 2023-10-04 15:37:41 -03:00
anovazzi1
71bc3c4a65 formated code 2023-10-04 15:37:41 -03:00
anovazzi1
3c77728709 created test to save flow and fix bug on nested dict 2023-10-04 15:37:41 -03:00
Gabriel Luiz Freitas Almeida
67c0791e30 📝 docs(README.md): update langflow command in usage instructions to 'langflow run' for clarity and consistency
📝 docs(README.md): update langflow command in HuggingFace Spaces section to 'langflow run' for clarity and consistency
📝 docs(README.md): remove empty line in README.md file
2023-10-04 15:00:54 -03:00