feat(agent-core): 增加智能编排与模型工具基础

This commit is contained in:
2026-05-30 00:08:27 +08:00
parent 35b80929b0
commit 7a6c110103
16 changed files with 806 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
def build_mock_structured_output(output_type: str, user_input: str, references: list) -> dict:
return {
"output_type": output_type,
"summary": f"模拟结构化输出:{user_input}",
"references_count": len(references),
"risk_level": "low",
"suggested_actions": ["补充真实 LLM Provider 后替换模拟结果"],
}