feat: add shared fund quote capability

This commit is contained in:
2026-09-09 23:40:35 +08:00
parent ca680ca46f
commit 46fc976b24
22 changed files with 1561 additions and 8 deletions
@@ -0,0 +1,10 @@
from app.service.agent.bootstrap import get_agent_factory
def test_public_fund_quote_tool_is_registered_as_read_only() -> None:
factory = get_agent_factory()
tool = factory._tool_executor.registry.get("query_fund_quote")
assert tool.read_only is True
assert tool.required_permission == "fund:quote:read"
assert "advisor" in tool.allowed_roles
assert "risk_operator" in tool.allowed_roles