fix(graph): ask an analyst for its report once its tool rounds are spent (#1420)

- after max_tool_rounds rounds of tool calls (default 20, TRADINGAGENTS_MAX_TOOL_ROUNDS) the analyst takes one last turn with no tools, its tool calls and results given as text, and that turn ends its graph
- the three tool-using analysts take their turns through analysts.turn.take_turn
- a limit the recursion limit cannot hold is refused when the graph is built
This commit is contained in:
Yijia-Xiao
2026-09-29 05:57:18 +00:00
parent 0d22cad2af
commit ca2ebbbdcb
9 changed files with 156 additions and 33 deletions
+1
View File
@@ -45,6 +45,7 @@ NVIDIA_API_KEY=
#TRADINGAGENTS_OUTPUT_LANGUAGE=English
#TRADINGAGENTS_MAX_DEBATE_ROUNDS=1
#TRADINGAGENTS_MAX_RISK_ROUNDS=1
#TRADINGAGENTS_MAX_TOOL_ROUNDS=20
#TRADINGAGENTS_CHECKPOINT_ENABLED=false
# Docker: a host folder for results, reports and the memory log (unset: the tradingagents_data volume).