minhvtt commited on
Commit
d71a595
verified
1 Parent(s): e311cf7

Update agent_service.py

Browse files
Files changed (1) hide show
  1. agent_service.py +1 -1
agent_service.py CHANGED
@@ -316,7 +316,7 @@ class AgentService:
316
  response = await client.chat_completion(
317
  messages=messages,
318
  model="Qwen/Qwen2.5-72B-Instruct", # Best for Vietnamese + tool calling
319
- max_tokens=1024, # Increased to prevent truncation
320
  temperature=0.7,
321
  tools=tools,
322
  tool_choice="auto" # Let model decide when to use tools
 
316
  response = await client.chat_completion(
317
  messages=messages,
318
  model="Qwen/Qwen2.5-72B-Instruct", # Best for Vietnamese + tool calling
319
+ max_tokens=2048, # Increased to prevent truncation
320
  temperature=0.7,
321
  tools=tools,
322
  tool_choice="auto" # Let model decide when to use tools