fix: enable lmstudio responses and drop think tags

This commit is contained in:
Peter Steinberger
2025-12-27 00:28:52 +00:00
parent 2477ffd860
commit 7e380bb6f8
6 changed files with 29 additions and 10 deletions

View File

@@ -1177,8 +1177,7 @@ export async function getReplyFromConfig(
prompt: commandBody,
extraSystemPrompt: groupIntro || undefined,
ownerNumbers: ownerList.length > 0 ? ownerList : undefined,
enforceFinalTag:
provider === "lmstudio" || provider === "ollama" ? true : undefined,
enforceFinalTag: provider === "ollama" ? true : undefined,
provider,
model,
thinkLevel: resolvedThinkLevel,