ollama接口设置增加<think>块忽略参数

This commit is contained in:
mcz
2025-05-01 23:41:08 +08:00
parent 7a772d2459
commit 471dc05897
4 changed files with 21 additions and 1 deletions

View File

@@ -541,6 +541,7 @@ const defaultOllamaApi = {
model: "llama3.1",
systemPrompt: `You are a professional, authentic machine translation engine.`,
userPrompt: `Translate the following source text from ${INPUT_PLACE_FROM} to ${INPUT_PLACE_TO}. Output translation directly without any additional text.\n\nSource Text: ${INPUT_PLACE_TEXT}\n\nTranslated Text:`,
thinkIgnore:`qwen3,deepseek-r1`,
fetchLimit: 1,
fetchInterval: 500,
};