Skip to content

fix: temporary fix for reasoning handling#339

Open
AndSDev wants to merge 1 commit intofmaclen:mainfrom
AndSDev:main
Open

fix: temporary fix for reasoning handling#339
AndSDev wants to merge 1 commit intofmaclen:mainfrom
AndSDev:main

Conversation

@AndSDev
Copy link
Copy Markdown

@AndSDev AndSDev commented Jan 28, 2026

I can make a proper fix, but it will break backward compatibility with providers that respond with <think> blocks in the content field.

If backwards compatibility isn’t a concern, then we can replace onChunk: (content: string) with onChunk: (content: string, reasoning_content: string), which would fully eliminate the ReasoningProcessor.

Fixes #313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ollama has a new thinking API

1 participant