mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:08:27 +00:00
fix: stop enforcing <final> for ollama (#16191) (thanks @Glucksberg)
This commit is contained in:
@@ -14,7 +14,7 @@ export function isReasoningTagProvider(provider: string | undefined | null): boo
|
||||
const normalized = provider.trim().toLowerCase();
|
||||
|
||||
// Check for exact matches or known prefixes/substrings for reasoning providers.
|
||||
// Note: Ollama is intentionally excluded — its OpenAI-compatible endpoint
|
||||
// Note: Ollama is intentionally excluded - its OpenAI-compatible endpoint
|
||||
// handles reasoning natively via the `reasoning` field in streaming chunks,
|
||||
// so tag-based enforcement is unnecessary and causes all output to be
|
||||
// discarded as "(no output)" (#2279).
|
||||
|
||||
Reference in New Issue
Block a user