fix: Increase LLM max_tokens to 16384 to prevent report truncation.
This commit is contained in:
parent
4843bca0d3
commit
e0965a66d6
|
|
@ -101,7 +101,7 @@ class TradingAgentsXGraph:
|
||||||
model=model,
|
model=model,
|
||||||
base_url=base_url,
|
base_url=base_url,
|
||||||
openai_api_key=api_key,
|
openai_api_key=api_key,
|
||||||
max_tokens= 8192 # Prevent report truncation
|
max_tokens= 16384 # Prevent report truncation
|
||||||
)
|
)
|
||||||
|
|
||||||
# Initialize LLMs independently
|
# Initialize LLMs independently
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue