Replace ollama-ai-provider with @ai-sdk/openai-compatible for Ollama
ollama-ai-provider v1.2.0 implements spec v1, which is incompatible with AI SDK v6 (requires spec v2). Rather than switching to the ollama-ai-provider-v2 community fork (as suggested in #2), this uses the already-present @ai-sdk/openai-compatible package to talk to Ollama's OpenAI-compatible endpoint (/v1). This avoids adding a new dependency entirely. Fixes #2
Andy2026-03-08
8bf2c8c589a02bead246d51f087f0c673672d3dc
parent 81baffb