Commit graph

5,516 commits

Author SHA1 Message Date
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
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
Gabriel Luiz Freitas Almeida
358d595b36
Release beta 6 (#1012) 2023-10-04 14:52:42 -03:00
Gabriel Luiz Freitas Almeida
371d231bac 🔖 chore(pyproject.toml): bump version from 0.5.0b5 to 0.5.0b6 to reflect changes in the package 2023-10-04 14:51:47 -03:00
Gabriel Luiz Freitas Almeida
203929914e 🐛 fix(utils.py): remove unnecessary password verification when creating a superuser
💡 refactor(utils.py): simplify logic for creating a superuser by removing redundant password verification
2023-10-04 14:51:18 -03:00
Gabriel Luiz Freitas Almeida
eb1e742029
Change prefix of generated API key from "lf" to "sk"
🔄 refactor(api_key/crud.py): change prefix of generated API key from "lf" to "sk" for better readability and consistency
2023-10-04 13:54:45 -03:00
Gabriel Luiz Freitas Almeida
3403ee3c1c 🔄 refactor(api_key/crud.py): change prefix of generated API key from "lf" to "sk" for better readability and consistency 2023-10-04 13:54:09 -03:00
Gabriel Luiz Freitas Almeida
6c45b6393f
🐛 fix(endpoints.py): replace backend type string with backend name to improve readability and semantics (#1010) 2023-10-04 13:42:42 -03:00
Gabriel Luiz Freitas Almeida
6276e5c233 🔖 chore(pyproject.toml): bump version from 0.5.0b4 to 0.5.0b5 for package release 2023-10-04 13:42:20 -03:00
Gabriel Luiz Freitas Almeida
997639e325 🐛 fix(endpoints.py): replace backend type string with backend name to improve readability and semantics
 feat(anyio.py): add name attribute to AnyIOBackend class to identify the backend by name
 feat(celery.py): add name attribute to CeleryBackend class to identify the backend by name
 feat(manager.py): add backend_name property to TaskService class to get the name of the backend
2023-10-04 13:40:51 -03:00
Gabriel Luiz Freitas Almeida
9277950b07
chore(deps): bump postcss from 8.4.25 to 8.4.31 in /docs (#999) 2023-10-04 13:07:47 -03:00
Gabriel Luiz Freitas Almeida
a308585d01
fix callback use client_id (#993) 2023-10-04 12:53:55 -03:00
Gabriel Luiz Freitas Almeida
3604db72f4
Release Beta 5 (#1009) 2023-10-04 12:51:07 -03:00
Gabriel Luiz Freitas Almeida
16ffde61ec 🔖 chore(pyproject.toml): bump version from 0.5.0b3 to 0.5.0b4 for package release 2023-10-04 12:50:14 -03:00
Gabriel Luiz Freitas Almeida
62711a08cd 🔧 chore(server.py): configure gunicorn to use UvicornWorker as the worker class for improved performance and compatibility 2023-10-04 12:49:30 -03:00
Gabriel Luiz Freitas Almeida
f9d9adf60b 🐛 fix(manager.py): catch and log exceptions when tearing down services to prevent silent failures
🐛 fix(utils.py): catch and log exceptions when tearing down services and superuser to prevent silent failures
2023-10-04 12:49:10 -03:00
Gabriel Luiz Freitas Almeida
e72c04a94a 🐛 fix(__main__.py): set OBJC_DISABLE_INITIALIZE_FORK_SAFETY environment variable on MacOS to avoid error when running gunicorn
 feat(__main__.py): load environment variables from .env file to override existing environment variables
2023-10-04 12:48:30 -03:00
Gabriel Luiz Freitas Almeida
a185ee4f9b
Release 0.5.0 Beta 3 (#1008) 2023-10-04 10:39:09 -03:00
Gabriel Luiz Freitas Almeida
5f57d82004 🔖 chore(pyproject.toml): bump version from 0.5.0b2 to 0.5.0b3 for package release 2023-10-04 10:36:19 -03:00
Gabriel Luiz Freitas Almeida
f229524cf5 🐛 fix(__main__.py): change default number of worker processes from 2 to 1 to improve performance 2023-10-04 10:34:37 -03:00
Gabriel Luiz Freitas Almeida
1e503ecfe2
bump version (#1007) 2023-10-04 10:28:02 -03:00
Gabriel Luiz Freitas Almeida
f7a404be22 bump version 2023-10-04 10:27:19 -03:00
Gabriel Luiz Freitas Almeida
05e7743c68
Release 0.5.0b0 (#1006) 2023-10-04 10:23:45 -03:00
Gabriel Luiz Freitas Almeida
4ee7c9d01d 🔖 chore(pyproject.toml): update package version from 0.5.0b0 to 0.5.0b1 to reflect changes in the package 2023-10-04 10:21:10 -03:00
Gabriel Luiz Freitas Almeida
0a61f389c8 🔧 chore(manager.py): remove unused initialize_services function
🔧 chore(utils.py): refactor initialize_services function to use a list of factory and dependencies for better readability and maintainability
2023-10-04 10:20:47 -03:00
Gabriel Luiz Freitas Almeida
a6b30e1b8b 🔧 chore(alembic): change columns to be nullable in migration script
🔧 chore(api_key.py): make last_used_at field nullable in ApiKeyBase model

🔧 chore(flow.py): make data field nullable in FlowBase model

🔧 chore(user.py): make profile_image field nullable in User model
2023-10-04 10:20:32 -03:00
Gabriel Luiz Freitas Almeida
d17d127b81
🔖 chore(pyproject.toml): update package version from 0.5.0a7 to 0.5.0b0 to reflect the beta release (#1005) 2023-10-04 09:09:21 -03:00
Gabriel Luiz Freitas Almeida
f9da0009ed 🔖 chore(pyproject.toml): update package version from 0.5.0a7 to 0.5.0b0 to reflect the beta release 2023-10-04 09:08:40 -03:00
Gabriel Luiz Freitas Almeida
95e9561ac9
Fixes table creation (#1004) 2023-10-04 09:07:22 -03:00
Gabriel Luiz Freitas Almeida
78c54d6736 🐛 fix(manager.py): handle table creation errors and log warnings for existing tables
 feat(manager.py): improve table creation process by checking if tables already exist before creating them
2023-10-04 09:03:03 -03:00
Gabriel Luiz Freitas Almeida
3724876620 🐛 fix(utils.py): remove unnecessary check for None value in handle_partial_variables function
🔀 refactor(utils.py): simplify dictionary comprehension in handle_partial_variables function
2023-10-03 22:14:32 -03:00
Gabriel Luiz Freitas Almeida
d01d8c2945 Merge branch 'fix_tests' into session_id 2023-10-03 21:43:51 -03:00
Gabriel Luiz Freitas Almeida
5058daab16 🔒 chore(poetry.lock): update langchain package version from 0.0.303 to 0.0.306
📦 chore(poetry.lock): update langchain package files with new version 0.0.306 and corresponding hashes

🔒 chore(poetry.lock): update package versions

The package versions in poetry.lock have been updated to the latest compatible versions. This ensures that the project is using the most up-to-date dependencies and improves compatibility and security.

🔧 chore(dependencies): update extended-testing, openai, and tiktoken versions

- Update extended-testing dependencies to include new packages: anthropic, arxiv, and motor
- Update openai dependency to include tiktoken version 0.3.2 to 0.6.0
- No changes to javascript, llms, qdrant, and text-helpers dependencies

🔒 chore(poetry.lock): update traitlets package version from 5.11.1 to 5.11.2 to fix a bug and improve functionality
🔐 chore(poetry.lock): update content-hash for traitlets package to ensure integrity and security of the package
2023-10-03 21:42:14 -03:00
Gabriel Luiz Freitas Almeida
ef83859d71 🔖 chore(pyproject.toml): update package version to 0.5.0a7 for langflow
🔖 chore(pyproject.toml): update langchain dependency to version 0.0.306 for compatibility improvements
2023-10-03 21:41:07 -03:00
Gabriel Luiz Freitas Almeida
f25e390e8c 🐛 fix(utils.py): handle_partial_variables now filters out partial variables with None values to prevent errors in LangChain 2023-10-03 21:33:45 -03:00