Skip to content

Replace deprecated ollama-ai-provider with ollama-ai-provider-v2 - #628

Merged
feiskyer merged 3 commits into
feiskyer:mainfrom
Marcool04:main
Dec 16, 2025
Merged

feiskyer merged 3 commits into
feiskyer:mainfrom
Marcool04:main

Conversation

@Marcool04

Copy link
Copy Markdown
Contributor

According to this, starting with AI SDK 5, https://www.npmjs.com/package/ollama-ai-provider is no longer compatible, but we should be using https://www.npmjs.com/package/ollama-ai-provider-v2

This makes the change. Verified to build ok, and functions.

Following tweeks to configuration were however needed:

The Api Base Url setting was set to: http://127.0.0.1:11434/api (rather than suggested http://localhost:11434/v1/)

@minger0 minger0 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks all reasonable to me @feiskyer could this be integrated?

@feiskyer

Copy link
Copy Markdown
Owner

Thanks for the fix!

@feiskyer
feiskyer merged commit c95808f into feiskyer:main Dec 16, 2025
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.

3 participants