fix: increase max_tokens for LLM suggestions to prevent truncated JSON

This commit is contained in:
Agent Zero
2026-07-19 02:32:39 +02:00
parent 5c3fc027bc
commit 5db7364071
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ async def deep_analysis(
},
],
temperature=0.3,
max_tokens=800,
max_tokens=1500,
response_format={"type": "json_object"},
)
if api_key:
@@ -422,7 +422,7 @@ async def generate_suggestion(
},
],
temperature=0.3,
max_tokens=500,
max_tokens=1500,
response_format={"type": "json_object"},
)
if api_key: