✨ feat(tests): add assertion for response status code 201 after creating a user
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
🐛 fix(tests): update endpoint path from "/api/v1/user" to "/api/v1/users/whoami" to fetch the updated user
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
✨ feat(tests): add assertion for response status code 401 and detail message after fetching the updated user
✨ feat(tests): add assertion for response status code 200 after deleting a user
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
✨ feat(tests): add assertion for response status code 200 and detail message after deleting a user
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
✨ feat(tests): add assertion for response status code 304 after patching user data
✨ feat(tests): add assertion for response status code 200 after resetting user password
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
✨ feat(tests): add assertion for response status code 422 and detail message after patching user data with wrong id
🐛 fix(tests): update endpoint path from "/api/v1/user/{user_id}" to "/api/v1/users/{user_id}" for consistency and clarity
✨ feat(tests): add assertion for response
✨ feat(users.py): add support for resetting a user's password
🐛 fix(crud.py): fix update_user function to properly handle unchanged attributes and return 304 status code if nothing is updated
🐛 fix(user.py): change field name in UserUpdate model from 'username' to 'password' to reflect the intended functionality
🐛 fix(index.ts): update API routes in frontend controller functions to match the changed user-related endpoint paths
🐛 fix(base.py): ignore type error for AsyncResult import to avoid linting issues
🐛 fix(worker.py): ignore type error for SoftTimeLimitExceeded import to avoid linting issues
✨ feat(worker.py): add conditional clearing of session cache based on clear_cache flag to improve performance
🔒 chore(celery.py): add check for delay method existence in launch_task to prevent errors
🔒 chore(celery.py): change get_task return type hint to Any to match actual return type
✨ feat(test_endpoints.py): add test_basic_chat_with_two_session_ids_and_names to test the functionality of handling multiple session IDs and names in the chat endpoint
🐛 fix(process.py): update session_manager.update_session() method signature to match the new implementation
🐛 fix(worker.py): update session_manager.update_session() method signature to match the new implementation
🐛 fix(test_process.py): update session_manager.build_key() and session_manager.clear_session() method calls to match the new implementation
🔧 chore(manager.py): refactor generate_key method to use a separate build_key method for better separation of concerns
🔧 chore(manager.py): refactor update_session method to use the build_key method for better separation of concerns
🔧 chore(manager.py): refactor clear_session method to use the build_key method for better separation of concerns
🔧 chore(manager.py): add type hinting for cache_manager parameter in the __init__ method for better code clarity
ℹ️ This commit adds a new node called "Basic Chat with Prompt and History (2)" to the chat application. This node is responsible for creating a simple chat interface with a custom prompt template and a conversational memory buffer.
The node configuration includes various properties such as callbacks, cache, client, max_retries, max_tokens, metadata, model_kwargs, model_name, n, openai_api_base, openai_api_key, openai_organization, openai_proxy, and more.
This new node enhances the chat functionality by providing a more interactive and dynamic chat experience for users.
📝 chore(tests): add BasicChatwithPromptandHistory.json test data file for testing purposes
🔧 fix(test_endpoints.py): remove unused imports and trailing whitespace
✅ test(test_endpoints.py): add test for basic chat in process endpoint to verify correct response and session_id generation
✅ test(test_endpoints.py): add test for basic chat with different session_ids to verify correct response
✅ test(test_endpoints.py): add test for basic chat with two session_ids and names to verify correct response
🔧 chore(conftest.py): add pytest fixture for loading JSON flow with prompt and history
🔧 chore(conftest.py): add pytest fixture for adding a flow with prompt and history to the database
🔥 chore(EditNodeModal): remove unused state variables 'dict' and 'dictArr' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused useEffect hook for 'dict' state variable to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'obj' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'myData' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'setMyData' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'setDict' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'setDictArr' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'setObj' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'setTabsState' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'tabId' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused state variable 'reactFlowInstance' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'typesContext' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'useState' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'useEffect' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'forwardRef' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'useContext' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'classNames' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'convertObjToArray' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'convertArrayToObj' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'hasDuplicateKeys' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'KeypairListComponent' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'TextAreaComponent' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'useState' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'useEffect' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'useContext' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'forwardRef' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'classNames' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'convertObjToArray' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'convertArrayToObj' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove unused import for 'hasDuplicateKeys' to improve code cleanliness and remove unnecessary complexity
🔥 chore(EditNodeModal): remove
🔧 fix(parameterComponent): remove unused dict and dictArr state variables
🔧 fix(parameterComponent): remove unused useEffect hook
🔧 fix(parameterComponent): update onChange handler to setObj instead of setDict
🔧 fix(keypairListComponent): remove commented out code for future feature
🔧 fix(EditNodeModal): update condition to check for "keypairlist" type instead of "keypair" type
🔧 fix(types): update onChange type in DictComponentType to accept any value
🔧 fix(reactflowUtils): remove unnecessary comments and newline at end of file
✨ feat(test_endpoints.py): add mock function for update_total_uses to fix test_process_flow_invalid_api_key
✨ feat(test_endpoints.py): add mock function for update_total_uses to fix test_process_flow_without_autologin
✨ feat(test_endpoints.py): add mock function for update_total_uses to fix test_process_flow_fails_autologin_off
🐛 fix(dictComponent): fix import statement for DictComponentType in dictComponent
🐛 fix(keypairListComponent): fix import statement for KeyPairListComponentType in keypairListComponent
🐛 fix(EditNodeModal): fix incorrect type check for dict and keypair components in EditNodeModal
🐛 fix(types): rename KeyPairListComponent to KeyPairListComponentType and add DictComponentType
🎨 style(App.css): reformat CSS code for better readability and consistency
🚀 feat(App.css): add styles for json-view component
🔨 refactor(parameterComponent): extract DictComponent to a separate file for reusability
🔧 chore(constants): add constant for CODE_DICT_DIALOG_SUBTITLE
🔨 refactor(EditNodeModal): extract DictComponent to a separate file for reusability
🔧 chore(constants): add constant for CODE_DICT_DIALOG_SUBTITLE
🔨 refactor(codeAreaModal): remove unused isTweakPage variable
🚀 feat(dictAreaModal): add DictAreaModal component to allow editing of dictionaries
🔧 chore(styleUtils.ts): import and add BookMarked icon to nodeIconsLucide for future use
This pull request introduces a series of enhancements to our recently
revamped login page, streamlining the user experience. These changes
were meticulously designed and developed to ensure a seamless login
process for our users while adhering to the highest standards of
usability and privacy.