-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor to v4 #376
Refactor to v4 #376
Conversation
🚧 fix(extra/user/schema): fix indentation for class methods 🔧 refactor(extra/user/__init__): update import statement for LlmConfig
🔧 chore: refactor code to improve readability and maintainability 🚧 refactor: restructure code to enhance performance 📝 docs: update documentation for better understanding 🐛 fix: correct logic for uploading files in Telegram 🔒 security: enhance security measures for user authentication 🛠️ style: improve code formatting and style 🔥 remove: eliminate redundant code for optimization 🚀 optimize: enhance performance for faster execution 📦 build: compile code for deployment 🔊 log: add logging to track application events 🧪 test: write test cases for new functionality 🔑 auth: handle user authentication for secure access
🔧 chore: refactor code to improve readability and maintainability 🚧 refactor: restructure code to enhance performance 📝 docs: update documentation for better understanding 🐛 fix: correct logic for uploading files in Telegram 🔒 security: enhance security measures for user authentication 🛠️ style: improve code formatting and style 🔥 remove: eliminate redundant code for optimization 🚀 optimize: enhance performance for faster execution 📦 build: compile code for deployment 🔊 log: add logging to track application events 🧪 test: write test cases for new functionality 🔑 auth: handle user authentication for secure access
…_rule, refer, resign, func_call files
…_rule, refer, resign, func_call files
Add new functionalities for file management, environment variables, base key-value manager, and user instructions.
- Add BaseMessageStorage class for memory storage - Add LocalStorage class for local file storage - Add RedisChatMessageHistory class for redis storage
🔒 refactor: updated PREFIX variable value 🚀 feat: added methods to BaseRuntime class 🎉 feat: added ElaraRuntime class 🎉 feat: added RedisRuntime class 🚀 feat: added ElaraClientAsyncWrapper class 🚀 feat: added RedisClientWrapper class
…py files for better organization and consistency with the project structure
- Added receiver_client.py file with authorization generation and tool organization functions - Added function.py file with snapshot creation and user notification functions
- Added receiver_client.py file with authorization generation and tool organization functions - Added function.py file with snapshot creation and user notification functions
- Added new file `__init__.py` for telegram receiver module. - Implemented TelegramSender class for sending messages. - Implemented TelegramReceiver class for receiving messages.
- Added TelegramBotRunner class with methods for message handling, task creation, and file uploading - Implemented message handlers for commands like login, env, clear, help, tool, auth - Added message handlers for private and group messages to create tasks - Renamed event.py to app/sender/telegram/event.py for better organization
- Added platform setting file for different bot platforms - Added database setting file for RabbitMQ configuration
Two new files added: _exception.py with ChainBuildException class and const.py with DBNAME constant.
Two new files added: _exception.py with ChainBuildException class and const.py with DBNAME constant.
Two new files added: _exception.py with ChainBuildException class and const.py with DBNAME constant.
Two new files added: _exception.py with ChainBuildException class and const.py with DBNAME constant.
Added classes for database clients to interact with MontyDB and MongoDB, including methods for ping, insert, find, and update operations.
Important Auto Review SkippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 109 files out of 201 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
- Adjusted indentation for parameters in methods - Fixed logic for task snapshot credential processing
- Check if file exists before appending messages - Add touch method to create file if it does not exist - Move fsync inside the loop to ensure messages are written
… field - Add Optional annotation to llm_response field in schema.py file
… field - Add Optional annotation to llm_response field in schema.py file
⚙️ chore[cell]: Refactor field_validator for content in cell.py 🔧 refactor[request]: Refactor check_stop method in request.py ⚙️ chore[__init__]: Refactor consuming_task method in __init__.py 🔧 refactor[_base]: Refactor SnapData class in _base.py
…olCall classes ⚙️ refactor: update cell.py to include json_arguments property in FunctionCalled 🔧 fix: update request.py to include UserMessage in messages field 🔨 chore: update alarm/__init__.py to use sync method for send_notify 📝 docs: add TODO comment in FileSnapshotStorage class
🔧 refactor: add validate_mock2 function in jsonf.py
- Fixed incorrect indentation in app.py file.
Move OpenaiMiddleware import to the correct location in the file. Clean up unused imports and optimize import statements.
Move OpenaiMiddleware import to the correct location in the file. Clean up unused imports and optimize import statements.
- update the current_env variable to an empty dictionary if it is empty
- Updated Telegram event commands for better user interaction - Added a new command '/login' for users to login via URL or raw data
🔧 Chore: update llmkira sender kook and slack tool list 🔒 security: update llmkira sender kook auth functionality
🔧 fix: Update default_disable_tool_action value 🔧 fix: Update default_disable_tool_action value 🔧 fix: Update default_disable_tool_action value 🔧 fix: Update default_disable_tool_action value
Temporarily deprecate the loop_turn_only_message function due to changes in the project requirements.
- Update deployment and development documentation links to English - Translate plugin previews and platform support sections to English
- Update deployment and development documentation links to English - Translate plugin previews and platform support sections to English
Important improvements