mirror of https://github.com/kortix-ai/suna.git
Merge pull request #676 from tnfssc/fix/deepseek-context-size
This commit is contained in:
commit
eb8a9d12b0
|
@ -178,7 +178,7 @@ class ThreadManager:
|
||||||
elif 'gemini' in llm_model.lower():
|
elif 'gemini' in llm_model.lower():
|
||||||
max_tokens = 1000 * 1000 - 300000
|
max_tokens = 1000 * 1000 - 300000
|
||||||
elif 'deepseek' in llm_model.lower():
|
elif 'deepseek' in llm_model.lower():
|
||||||
max_tokens = 163 * 1000 - 32000
|
max_tokens = 128 * 1000 - 28000
|
||||||
else:
|
else:
|
||||||
max_tokens = 41 * 1000 - 10000
|
max_tokens = 41 * 1000 - 10000
|
||||||
|
|
||||||
|
|
|
@ -243,7 +243,7 @@ export function renderMarkdownContent(
|
||||||
{paramDisplay && <span className="ml-1 text-muted-foreground truncate max-w-[200px]" title={paramDisplay}>{paramDisplay}</span>}
|
{paramDisplay && <span className="ml-1 text-muted-foreground truncate max-w-[200px]" title={paramDisplay}>{paramDisplay}</span>}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
lastIndex = xmlRegex.lastIndex;
|
lastIndex = xmlRegex.lastIndex;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue