Commit graph

5,500 commits

Author SHA1 Message Date
Dave Morris
35af73822a
Merge pull request #1 from logspace-ai/dev
updating from dev branch
2023-08-08 17:29:36 -05:00
gustavoschaedler
056ce51ad0 🐛 fix(login.py): change argument type of create_user_token function from str to User to improve type safety and clarity
🐛 fix(login.py): remove unnecessary type ignore comment in create_user_token function
🐛 fix(login.py): remove unnecessary type ignore comment in return statement of login_to_get_access_token function
🐛 fix(users.py): remove unnecessary async keyword from read_current_user function
🐛 fix(users.py): remove unnecessary async keyword from read_all_users function
🐛 fix(users.py): remove unnecessary async keyword from add_user function
🐛 fix(users.py): remove unnecessary async keyword from add_super_user_to_testing_purposes function
2023-08-08 22:20:53 +01:00
gustavoschaedler
3c6d46021d 🔧 chore(user.py): remove unnecessary line breaks and import formatting for better code readability
🔧 chore(main.py): fix indentation and remove unnecessary line breaks for better code readability
🔧 chore(login.py): fix indentation and add missing line breaks for better code readability
2023-08-08 22:09:38 +01:00
gustavoschaedler
1c28979766 🔀 refactor(users.py): rename router prefix from "/users" to "Login" to improve clarity and consistency 2023-08-08 22:08:51 +01:00
gustavoschaedler
4af08d99fc Merge remote-tracking branch 'origin/dev' into authentication 2023-08-08 22:05:23 +01:00
Gabriel Luiz Freitas Almeida
91914f8bbe
Fixes an edge case that causes OperationalError when creating db tables (#734) 2023-08-08 17:52:50 -03:00
Gabriel Luiz Freitas Almeida
ab11bb99a7 🔖 chore(pyproject.toml): bump version from 0.4.4 to 0.4.5 for langflow package 2023-08-08 17:51:52 -03:00
Gabriel Luiz Freitas Almeida
d6bb6bf3d9 🐛 fix(base.py): handle case where database and tables already exist to prevent error and log a debug message 2023-08-08 17:41:17 -03:00
gustavoschaedler
59a55b4371 🔧 fix(auth.py): update import statements to reflect new file structure in langflow package
🔧 fix(auth.py): fix typo in verify_password function call
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package
🔧 fix(auth.py): update get_current_user function signature to match the annotated type
🔧 fix(auth.py): update get_user function call to reflect
2023-08-08 21:19:22 +01:00
Gabriel Luiz Freitas Almeida
a33edf878c
Adds Migrations and Service Layer implementation (#723) 2023-08-08 17:11:08 -03:00
Gabriel Luiz Freitas Almeida
eb09b0ef59
Hotfix: Fixes ORJSON 3.9.4 preventing installation with Poetry (#733) 2023-08-08 16:55:46 -03:00
Gabriel Luiz Freitas Almeida
14760cae19
Merge branch 'main' into release 2023-08-08 16:55:28 -03:00
Gabriel Luiz Freitas Almeida
9f0b460fec 🔧 chore(pyproject.toml): update orjson dependency from version 3.9.1 to 3.9.3
🔖 chore(pyproject.toml): update package version from 0.4.3 to 0.4.4
2023-08-08 16:53:36 -03:00
Gabriel Luiz Freitas Almeida
67f0ca7549 📦 chore(pyproject.toml): update orjson dependency from version 3.9.1 to 3.9.3 for bug fixes and improvements 2023-08-08 16:50:04 -03:00
Gabriel Luiz Freitas Almeida
4b47f9f196 🐛 fix(endpoints.py): add check to skip empty custom_component_dict to prevent potential errors 2023-08-08 16:35:15 -03:00
Gabriel Luiz Freitas Almeida
3170ac665a 📝 docs(pyproject.toml): add documentation link to the project configuration file 2023-08-08 16:15:30 -03:00
Gabriel Luiz Freitas Almeida
a6cacbf377 Merge branch 'dev' into migrations_service 2023-08-08 16:13:32 -03:00
Gabriel Luiz Freitas Almeida
a40a81b458 Merge remote-tracking branch 'origin/main' into dev 2023-08-08 16:12:12 -03:00
Gabriel Luiz Freitas Almeida
bae4792ed9
Fix flows not being able to run without input keys (#732) 2023-08-08 15:14:27 -03:00
Gabriel Luiz Freitas Almeida
ceff1a2833 Merge remote-tracking branch 'origin/main' into release 2023-08-08 15:13:49 -03:00
Gabriel Luiz Freitas Almeida
cf8c0601eb Revert "Merge branch 'main' into release"
This reverts commit 4dea0f6690, reversing
changes made to 597b2153a3.
2023-08-08 15:13:22 -03:00
Gabriel Luiz Freitas Almeida
b8d8ed8283 Revert "Revert "Fixes flows without input_keys not being runnable" (#731)"
This reverts commit 352e74cbc7, reversing
changes made to 3f531a1157.
2023-08-08 15:12:37 -03:00
Gabriel Luiz Freitas Almeida
4dea0f6690
Merge branch 'main' into release 2023-08-08 15:08:11 -03:00
Gabriel Luiz Freitas Almeida
597b2153a3 🔖 chore(pyproject.toml): bump version from 0.4.2 to 0.4.3 for langflow package 2023-08-08 15:06:38 -03:00
Gabriel Luiz Freitas Almeida
352e74cbc7
Revert "Fixes flows without input_keys not being runnable" (#731) 2023-08-08 15:03:02 -03:00
Gabriel Luiz Freitas Almeida
f9b392d5b8
Revert "Fixes flows without input_keys not being runnable" 2023-08-08 15:02:16 -03:00
Gabriel Luiz Freitas Almeida
3f531a1157
Fixes flows without input_keys not being runnable (#727) 2023-08-08 15:01:56 -03:00
Gabriel Luiz Freitas Almeida
df49a6a410
Merge branch 'main' into inputKeysBugFix 2023-08-08 15:01:35 -03:00
Gabriel Luiz Freitas Almeida
8e4ca8e8ef
Adds more settings to ChromaDB and fixes Chat not being runnable without chat variables (#718) 2023-08-08 15:00:55 -03:00
Gabriel Luiz Freitas Almeida
a64f03da9c 📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation

🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:11:57 -03:00
Gabriel Luiz Freitas Almeida
4dafbae1b9 📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation

🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:09:15 -03:00
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