refactor(agent, shipping): 简化代理模型并完善订单抽取业务
- 移除 Agent 的 exposure_mode 与 internal_executor 相关逻辑,清理关联的过滤、序列化代码 - 删除废弃的 AgentRuntimeBinding 模型及其依赖 - 新增订单抽取上传批次、请求快照等数据库迁移与业务逻辑 - 修复附件完整性检测、订单抽取状态映射问题 - 更新多语言错误文案与前端单元测试配置 - 清理平台配置中不再使用的暴露模式配置
This commit is contained in:
1 parent
1f3ecb87b7
commit
61ac6403c4
159 files changed
+12883
-5099
No files matched your search
@@ -46,7 +46,6 @@ def build_agent_registry_schema() -> dict[str, Any]:
|
||||
'forced_capabilities': dict(entry.get('forced_capabilities') or {}),
|
||||
'progress_contract': deepcopy_schema(entry.get('progress_contract')),
|
||||
'default_intent_routes': list(entry.get('default_intent_routes') or []),
|
||||
'required_runtime_capabilities': deepcopy_schema(entry.get('required_runtime_capabilities')),
|
||||
})
|
||||
|
||||
return {
|
||||
@@ -54,7 +53,6 @@ def build_agent_registry_schema() -> dict[str, Any]:
|
||||
'runtime_providers': list(platform.get('runtime_providers') or []),
|
||||
'conversation_modes': list(platform.get('conversation_modes') or []),
|
||||
'dify_app_types': list(platform.get('dify_app_types') or []),
|
||||
'exposure_modes': list(platform.get('exposure_modes') or []),
|
||||
'suggested_questions_styles': list(platform.get('suggested_questions_styles') or []),
|
||||
'default_capabilities': get_default_capabilities(),
|
||||
'tool_run_progress_defaults': get_tool_run_progress_defaults(),
|
||||
|
||||
Reference in new issue
Block a user