Spaces:
Sleeping
Sleeping
File size: 476 Bytes
b2931f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | """FinRAG agent — LangGraph state machine over the Decision-15 tools.
Public surface: `run_agent(question)` returns the final AgentState
(answer + route + chunks + trace + usage). `main.py`'s /agent endpoint and the
graph's own __main__ are the two callers.
"""
from __future__ import annotations
from finrag.agent.graph import build_graph, get_agent, run_agent
from finrag.agent.state import AgentState
__all__ = ["run_agent", "get_agent", "build_graph", "AgentState"]
|