22 lines
735 B
Python
22 lines
735 B
Python
"""投顾 Agent 的迁移骨架。
|
|
|
|
当前阶段只接入新底座已有的场内基金行情只读能力;后续业务模块会按迁移 TODO
|
|
逐项扩展 definition、工具白名单和处理逻辑。
|
|
"""
|
|
|
|
from app.core.contracts import AgentDefinition
|
|
from app.service.agent.implementations.fund_query_demo import FundQueryDemoAgent
|
|
|
|
|
|
class AdvisorAgent(FundQueryDemoAgent):
|
|
"""通过公共 BaseAgent 链路运行的最小投顾 Agent。"""
|
|
|
|
definition = AgentDefinition(
|
|
agent_type="advisor",
|
|
version="0.1.0",
|
|
allowed_roles=("customer", "advisor", "operator", "admin"),
|
|
allowed_portals=("api",),
|
|
allowed_tools=("query_fund_quote",),
|
|
supported_intents=("fund_quote",),
|
|
)
|