diff --git a/backend/agentpress/thread_manager.py b/backend/agentpress/thread_manager.py index 644a90d5..f9f19700 100644 --- a/backend/agentpress/thread_manager.py +++ b/backend/agentpress/thread_manager.py @@ -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 diff --git a/frontend/src/components/thread/content/ThreadContent.tsx b/frontend/src/components/thread/content/ThreadContent.tsx index e41e5ea4..0bca2a65 100644 --- a/frontend/src/components/thread/content/ThreadContent.tsx +++ b/frontend/src/components/thread/content/ThreadContent.tsx @@ -243,7 +243,7 @@ export function renderMarkdownContent( {paramDisplay && {paramDisplay}} - ); + ); } lastIndex = xmlRegex.lastIndex; }