feat: add shared fund quote capability
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user