Merge pull request #676 from tnfssc/fix/deepseek-context-size

This commit is contained in:
Sharath 2025-06-07 00:19:49 +05:30 committed by GitHub
commit eb8a9d12b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 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

View File

@ -243,7 +243,7 @@ export function renderMarkdownContent(
{paramDisplay && <span className="ml-1 text-muted-foreground truncate max-w-[200px]" title={paramDisplay}>{paramDisplay}</span>}
</button>
</div>
);
);
}
lastIndex = xmlRegex.lastIndex;
}