-
Notifications
You must be signed in to change notification settings - Fork 787
Version/4.0 #1220
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
base: master
Are you sure you want to change the base?
Version/4.0 #1220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements version 4.0 by integrating new YAML configuration loading for pipeline metadata and extending the application with additional service managers and HTTP API endpoints for pipelines, models, and bots.
- Introduces YAML config loading in load_config and config modules
- Updates app/boot initialization to inject new managers (pipeline, model, bot)
- Adds new API routes and controllers for pipelines, models, bots, and platform adapters
Reviewed Changes
Copilot reviewed 73 out of 73 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
pkg/core/stages/load_config.py | Loads additional YAML metadata configurations for pipelines |
pkg/core/stages/build_app.py | Initializes new managers (pipeline, model, bot) within the app |
pkg/core/bootutils/deps.py | Adds sqlmodel as a new dependency |
pkg/core/bootutils/config.py | Exposes the YAML config loader to the application |
pkg/core/app.py | Declares new application variables for pipeline and service management |
pkg/command/operators/model.py | Updates the attribute reference for token manager output |
pkg/api/http/service/* | Introduces new services for pipelines, models, and bots |
pkg/api/http/controller/groups/* | Adds new routing groups for pipelines, models, bots, and platform adapters |
pkg/api/http/controller/group.py | Modifies error handling to print traceback and return standardized error |
Comments suppressed due to low confidence (2)
pkg/command/operators/model.py:57
- Verify that 'model.token_mgr.name' is the intended property instead of the previous 'provider' attribute. If this change is intentional, consider updating documentation to reflect the new attribute.
content += f"密钥组: {model.token_mgr.name}\n"
pkg/api/http/controller/group.py:79
- [nitpick] Consider replacing 'traceback.print_exc()' with a proper logging mechanism to avoid unintended console output in production environments.
traceback.print_exc()
feat: pipeline invoking
feat: discovering plugins by manifests
…pping refactor: remove adapter-qq-botpy.json metadata
概述
实现/解决/优化的内容:
检查清单
PR 作者完成
*请在方括号间写
x
以打勾项目所有者完成
TODO