E52E Update Ollama AI Provider to Support Parsing "Thinking" Content From New Message Schema by angelplusultra Β· Pull Request #4587 Β· Mintplex-Labs/anything-llm Β· GitHub
[go: up one dir, main page]

Skip to content

Conversation

@angelplusultra
Copy link
Contributor
@angelplusultra angelplusultra commented Oct 28, 2025

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #4576
resolves #4535
resolves #4561
resolves #4564

What is in this change?

This PR enhances the Ollama AI Provider to support parsing "thinking" content from reasoning models in versions v0.9.0+ of Ollama. This update is backwards compatible with older versions of Ollama.

Additional Information

I have tested functionality with latest version of Ollama and pre v0.9.0 versions.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

patched ollama `@agent` flow calls
@timothycarambat timothycarambat added PR:Staged and removed PR:needs review Needs review by core team labels Nov 20, 2025
@timothycarambat timothycarambat merged commit 7a7ec96 into master Nov 20, 2025
1 check passed
@timothycarambat timothycarambat deleted the 4576-ollama-update-thinking branch November 20, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants

0