fix: Increase LLM max_tokens to 16384 to prevent report truncation.

This commit is contained in:
MarkLo127 2026-03-09 16:03:33 +08:00
parent 4843bca0d3
commit e0965a66d6
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class TradingAgentsXGraph:
model=model,
base_url=base_url,
openai_api_key=api_key,
max_tokens= 8192 # Prevent report truncation
max_tokens= 16384 # Prevent report truncation
)
# Initialize LLMs independently