anovazzi1
303f1862c5
chore(baseModal): add support for x-small size option to make the modal smaller in width and height
...
feat(deleteAccountPage): create a new page for deleting user account with a confirmation modal
feat(routes): add route for delete account page under /account/delete path
2023-08-08 10:57:44 -03:00
Gabriel Luiz Freitas Almeida
6af7d04d4e
🐛 fix(endpoints.py): fix response and session_id assignment in process_flow function
...
🐛 fix(schemas.py): add session_id field to ProcessResponse schema
🐛 fix(process.py): fix session_id assignment in process_graph_cached function
2023-08-08 10:42:58 -03:00
Gabriel Luiz Freitas Almeida
fc5670f534
🔧 fix(endpoints.py): add session_id parameter to process_flow endpoint to support session-based caching
...
🔧 fix(utils.py): add hash_to_key mapping to memoize_dict decorator to support retrieving cache result by session_id
🔧 fix(process.py): add session_id parameter to process_graph_cached function to support session-based caching
Implements #730
2023-08-08 07:16:41 -03:00
Gabriel Luiz Freitas Almeida
d1f09a6a64
🔨 refactor(utils.ts): remove unnecessary newline after the return statement in getChatInputField function
2023-08-07 20:34:22 -03:00
Gabriel Luiz Freitas Almeida
bd7489206d
🐛 fix(chatComponent): add null check for formKeysData.input_keys to prevent error when accessing undefined property
2023-08-07 20:32:27 -03:00
Gabriel Luiz Freitas Almeida
16666426f7
🐛 fix(chatComponent): fix condition to check if parsedData.input_keys is not undefined
...
✨ feat(chatComponent): add logic to close the connection and finish when end_of_stream event is received
2023-08-07 20:31:59 -03:00
Gabriel Luiz Freitas Almeida
e1cbc0d5d4
🐛 fix(utils.ts): fix missing closing bracket in getChatInputField function
...
✨ feat(utils.ts): add getChatInputField function to retrieve the chat input field based on the current flow and tabs state
2023-08-07 20:31:32 -03:00
Gabriel Luiz Freitas Almeida
2abc0d2fb4
🐛 fix(formModal/index.tsx): handle case when tabsState or formKeysData is undefined to prevent errors
...
✨ feat(formModal/index.tsx): add support for displaying input keys and handling input changes in the form modal
2023-08-07 20:28:41 -03:00
Gabriel Luiz Freitas Almeida
aff3d53021
🔖 chore(pyproject.toml): bump package version from 0.4.1 to 0.4.2
...
🔖 chore(pyproject.toml): bump langchain version from 0.0.250 to 0.0.256
2023-08-07 20:06:32 -03:00
Gabriel Luiz Freitas Almeida
f61d265e77
🔧 chore(vector_store.py): refactor initialize_chroma function to remove unnecessary if conditions and improve code readability
...
🔧 chore(vector_store.py): remove chroma_server_ keys from params dictionary if not needed to avoid potential conflicts
2023-08-07 18:52:19 -03:00
Gabriel Luiz Freitas Almeida
239811dbff
🐛 fix(chat.py): change "input_keys" value from an empty dictionary to None to improve readability and reduce redundancy
2023-08-07 18:46:13 -03:00
Gabriel Luiz Freitas Almeida
9ee76fd18f
🐛 fix(manager.py): change default value of chat_inputs from empty string to empty dictionary to improve data consistency and prevent potential errors
...
🐛 fix(utils.py): handle case when chat_inputs.message is None by assigning an empty dictionary to it to prevent potential errors
2023-08-07 18:37:49 -03:00
anovazzi1
7f31f7f519
refactor(chatComponent): simplify condition for setting canOpen state in Chat component
...
The condition for setting the `canOpen` state in the Chat component was simplified by removing unnecessary checks for `formKeysData.input_keys` and `Object.keys(tabsState[flow.id].formKeysData.input_keys).length > 0`. The new condition only checks for the existence of `tabsState[flow.id].formKeysData`. This change improves code readability and reduces unnecessary complexity.
2023-08-07 18:35:14 -03:00
Igor Carvalho
396d5a3bd5
Add more types
2023-08-07 18:05:02 -03:00
Igor Carvalho
e56fa4c7d5
Add initial api modal constant structure
2023-08-07 17:40:24 -03:00
Igor Carvalho
71018dbd43
change more names
2023-08-07 17:20:26 -03:00
Igor Carvalho
1f93cb5513
Refactor: Change more variables names
2023-08-07 17:14:54 -03:00
Igor Carvalho
cc917311a6
Refactor: Change more variables names on codeTabsComponent
2023-08-07 15:02:12 -03:00
Gabriel Luiz Freitas Almeida
68c4799ab0
🔧 chore(launch.json): update launch.json to include a new configuration for debugging Python tests
...
✨ feat(launch.json): add a new configuration for debugging Python tests with the purpose of "debug-test" and console set to "integratedTerminal"
2023-08-07 14:47:04 -03:00
Igor Carvalho
ac0ff01d61
Refactor: rename codeTabsComponent variables
2023-08-07 14:46:33 -03:00
Gabriel Luiz Freitas Almeida
9fcc96e767
🔀 refactor(manager.py): update import statement for models in database manager to improve readability and maintainability
2023-08-07 14:18:07 -03:00
Gabriel Luiz Freitas Almeida
4e1fc2202a
🔥 refactor(test_cli.py): remove unused imports and test cases
...
The test_cli.py file had some unused imports and test cases that were not being used. This commit removes those unused imports and test cases to improve code cleanliness and maintainability.
2023-08-07 14:16:37 -03:00
Gabriel Luiz Freitas Almeida
71012ac47b
🔥 chore(alembic): remove flowstyles table
...
✨ feat(alembic): add migration to remove flowstyles table
🔥 chore(alembic): remove old migration file for removing flowstyles table
🐛 fix(database): import Flow model to avoid unused import warning
2023-08-07 14:09:27 -03:00
Igor Carvalho
808933e4c1
remove console.log
2023-08-07 13:36:17 -03:00
Igor Carvalho
fb733d3207
Resolve api modal type errors
2023-08-07 13:30:08 -03:00
anovazzi1
d5a1fda457
created basic authentication contenxt
2023-08-07 12:12:08 -03:00
Gabriel Luiz Freitas Almeida
96dfb9b324
🐛 fix(main.py): fix condition to setup static files only if static_files_dir is not None
2023-08-07 12:08:16 -03:00
Gabriel Luiz Freitas Almeida
9dba69cffc
📝 docs(CONTRIBUTING.md): add branch structure information to CONTRIBUTING.md file for better understanding of the repository structure
...
📝 docs(README.md): add a section about joining the Discord server to encourage community engagement and collaboration
2023-08-07 12:07:45 -03:00
Gabriel Luiz Freitas Almeida
1601745ed9
🔀 refactor(alembic/env.py): update import statement for SQLModel in env.py to reflect new location in manager module
...
🔀 refactor(interface/custom/custom_component.py): update import statement for session_getter in custom_component.py to reflect new location in utils module
🔀 refactor(main.py): update import statement for initialize_database in main.py to reflect new location in utils module
🔀 refactor(database/factory.py): update import statement for DatabaseManager in factory.py to reflect new location in manager module
2023-08-07 12:00:58 -03:00
Gabriel Luiz Freitas Almeida
8436c66aa7
📦 chore(manager.py): add DatabaseManager class to handle database operations
...
📦 chore(utils.py): add initialize_database function and session_getter context manager to handle database initialization and session management
2023-08-07 12:00:27 -03:00
Gabriel Luiz Freitas Almeida
8036f74d8b
🔀 chore(conftest.py): update import statement for DatabaseManager to reflect file name change
2023-08-07 11:59:57 -03:00
Gabriel Luiz Freitas Almeida
41707c1eac
🔧 chore(test_cli.py): refactor test_components_path to use a temporary directory for components path
...
🔧 chore(test_cli.py): refactor test_components_path to use a temporary directory for components path to improve test isolation and avoid side effects
2023-08-07 11:59:23 -03:00
Cristhian Zanforlin Lousa
c1d1684c73
✨ feat(routes.tsx): add new route for LoginPage component at /login path to enable user login functionality
2023-08-07 11:40:42 -03:00
Gabriel Luiz Freitas Almeida
d75fb49bf2
🔥 chore(alembic): remove FlowStyles table
...
This commit removes the FlowStyles table from the database. The table was no longer needed and has been dropped. The corresponding indexes and foreign key constraints have also been removed.
Downgrade functionality has been implemented to recreate the FlowStyles table and its associated indexes and foreign key constraints if needed.
2023-08-07 10:25:46 -03:00
Gabriel Luiz Freitas Almeida
b7861ac77f
🔧 chore(alembic.ini): update sqlalchemy.url to dynamically set the path to the database in the root of the project
2023-08-07 10:24:28 -03:00
Gabriel Luiz Freitas Almeida
e2e14d8c93
🔥 refactor(router.py): remove unused flow_styles_router import to improve code cleanliness and reduce unused code
...
🔥 refactor(test_database.py): remove unused flow_style related tests to improve code cleanliness and reduce unused code
2023-08-07 10:24:02 -03:00
Dave Morris
b54231e584
Update Dockerfile to fix uvicorn factory path
2023-08-07 08:21:57 -05:00
Dave Morris
6386a32193
Update dev.Dockerfile to fix uvicorn factory path
2023-08-07 08:20:34 -05:00
Dave Morris
50df00cd0d
Update docker-compose.debug.yml to fix uvicorn factory path
2023-08-07 08:20:04 -05:00
Dave Morris
8e8e97149a
Update docker-compose.yml to fix uvicorn factory path
2023-08-07 08:19:37 -05:00
Gabriel Luiz Freitas Almeida
4547edef0f
🔥 refactor(api): remove unused flow_styles module and related code
...
🔥 refactor(api): remove unused flow_styles router and related endpoints
🔥 refactor(api): remove unused FlowStyle model and related code
🔥 refactor(api): remove unused FlowStyleCreate, FlowStyleRead, and FlowStyleUpdate models
🔥 refactor(api): remove unused style relationship from Flow model
🔥 refactor(api): remove unused FlowReadWithStyle model
🔥 refactor(api): remove unused flow_styles_id parameter from read_flow_style endpoint
🔥 refactor(api): remove unused update_flow_style endpoint
🔥 refactor(api): remove unused delete_flow_style endpoint
🔥 refactor(api): remove unused flow_id parameter from delete_flow_style endpoint
🔥 refactor(api): remove unused style parameter from create_flow_style endpoint
🔥 refactor(api): remove unused read_flow_styles endpoint
🔥 refactor(api): remove unused flow_styles_id parameter from read_flow_styles endpoint
🔥 refactor(api): remove unused flow_style_id parameter from update_flow_style endpoint
🔥 refactor(api): remove unused flow_style parameter from update_flow_style endpoint
🔥 refactor(api): remove unused flow_style parameter from create_flow_style endpoint
🔥 refactor(api): remove unused flow_styles_router import
🔥 refactor(api): remove unused flow_styles_router variable
🔥 refactor(api): remove unused flow_styles_router prefix and tags
2023-08-07 10:13:40 -03:00
anovazzi1
61d1e13644
feat(loginPage): add LoginPage component to handle user login functionality
...
The LoginPage component is added to handle the user login functionality. It includes UI elements such as buttons, icons, and input fields for email address and password. The component also includes a login button and a sign-up button for users who don't have an account.
2023-08-07 09:51:40 -03:00
Gabriel Luiz Freitas Almeida
36a7ba4ad5
🚀 feat(test_cli.py): add tests for server functionality and command line options
...
🚀 feat(test_cli.py): add test for checking database URL option
🚀 feat(test_cli.py): add test for checking components path option
2023-08-07 09:45:09 -03:00
Gabriel Luiz Freitas Almeida
76362da42b
🔧 chore(main.py): refactor setup_app function to add support for backend_only flag
...
✨ feat(main.py): add backend_only flag to setup_app function to allow running the app without serving static files
2023-08-07 09:44:45 -03:00
Gabriel Luiz Freitas Almeida
709c4a1749
🔧 chore(__main__.py): refactor serve function to improve readability and maintainability
...
✨ feat(__main__.py): add support for custom components directory path as an environment variable
✨ feat(__main__.py): set default value for config option to be the config.yaml file in the same directory as the script
✨ feat(__main__.py): add support for specifying an .env file containing environment variables
✨ feat(__main__.py): add backend_only option to run only the backend server without the frontend
🔧 chore(__main__.py): refactor setup_app function to pass backend_only option to the app setup
✨ feat(__main__.py): add check to skip server startup if running in pytest environment
🔧 chore(__main__.py): refactor serve function to improve readability and maintainability
✨ feat(__main__.py): add support for running the server using uvicorn on Windows
2023-08-07 09:44:11 -03:00
Gabriel Luiz Freitas Almeida
7776977378
🚧 chore(conftest.py): add runner fixture to enable CLI testing
...
🔧 chore(conftest.py): import CliRunner from typer.testing to enable CLI testing
🔧 chore(conftest.py): remove unused imports and blank lines for code cleanliness
2023-08-07 09:43:37 -03:00
Igor Carvalho
bdc100d188
add more types
2023-08-06 19:19:48 -03:00
Dave Morris
4984a1282d
Merge branch 'logspace-ai:dev' into dev
2023-08-06 16:02:03 -05:00
Dave Morris
c7635b5b7c
Update config.yaml to enable ChatVertexAI
2023-08-06 14:53:37 -05:00
Dave Morris
fed093e830
potential fix for ChatVertexAI component bug
2023-08-06 14:52:31 -05:00