fix(thread_manager): adjust max_tokens calculation for deepseek model

This commit is contained in:
sharath 2025-06-06 18:48:55 +00:00
parent fa916cef81
commit c00497865f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class ThreadManager:
elif 'gemini' in llm_model.lower():
max_tokens = 1000 * 1000 - 300000
elif 'deepseek' in llm_model.lower():
max_tokens = 163 * 1000 - 32000
max_tokens = 128 * 1000 - 28000
else:
max_tokens = 41 * 1000 - 10000