Skip to content

fix(deps): update dependency ai-sdk-ollama to v3.8.1#550

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-ollama-3.x
Open

fix(deps): update dependency ai-sdk-ollama to v3.8.1#550
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-ollama-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 9, 2026

This PR contains the following updates:

Package Type Update Change OpenSSF
ai-sdk-ollama (source) dependencies minor 3.3.03.8.1 OpenSSF Scorecard

Release Notes

jagreehal/ai-sdk-ollama (ai-sdk-ollama)

v3.8.1

Compare Source

Patch Changes
  • aeafdd6: - Update generateText to detect and use the stable output option instead of the deprecated experimental_output when enableToolsWithStructuredOutput is enabled, including a two-phase tools + structured output path and an integration test to guard this behavior.

v3.8.0

Compare Source

Minor Changes
  • ed617f1: - Fix: Make OllamaProviderOptions, OllamaChatProviderOptions, and OllamaEmbeddingProviderOptions compatible with the AI SDK's providerOptions (Record<string, JSONObject>). They are now defined as type aliases from Zod schemas (z.infer), so passing e.g. providerOptions: { ollama: { structuredOutputs: true } } into streamText, generateText, or ToolLoopAgent type-checks correctly (fixes #​548).
    • New: Export provider option Zod schemas: ollamaProviderOptionsSchema, ollamaChatProviderOptionsSchema, ollamaEmbeddingProviderOptionsSchema, and ollamaRerankingProviderOptionsSchema for validation or parsing.
    • New: Image generation support via ollama.imageModel(modelId) and OllamaImageModel, using the AI SDK's generateImage() and experimental Ollama image models (e.g. x/z-image-turbo, x/flux2-klein). Supports providerOptions.ollama (e.g. steps, negative_prompt).
    • Change: Reranking model now uses parseProviderOptions from @ai-sdk/provider-utils for providerOptions.ollama; OllamaRerankingProviderOptions is now a type inferred from the exported schema.

v3.7.1

Compare Source

Patch Changes
  • 70def97: Support media/image content in tool result messages. When a tool returns output.type === 'content' with image-data, image-url, or file-data (image) parts, the provider now sends them in the tool message's images array to Ollama. Fixes #​527.

v3.7.0

Compare Source

Minor Changes
  • 229a396: Use jsonrepair for tool-call argument parsing
    • Tool-call JSON repair: parseToolArguments now uses jsonrepair when JSON.parse fails, so malformed tool-argument strings (trailing commas, unquoted keys, single quotes) are repaired instead of returning {}. Same logic is used when converting messages in convertToOllamaChatMessages.
    • Quoted/double-encoded JSON: When the model returns a quoted JSON string (e.g. "{\"query\":\"weather\"}"), the inner JSON is now parsed so tool arguments are not lost.
    • Exports: parseToolArguments and resolveToolCallingOptions are now exported from the main and browser entry points for advanced use.
    • Example: New tool-json-repair-example.ts in examples/node demonstrates tool-argument repair; json-repair-example.ts and README updated to reference it.

v3.6.0

Compare Source

Minor Changes
  • 2cd78cc: Structured output / object generation
    • Cascade JSON repair: Object generation repair now uses a cascade—jsonrepair first, then the built-in Ollama-specific repair (enhancedRepairText) for edge cases (Python True/None, URLs with //, smart quotes, etc.). Repair remains on by default; use enableTextRepair: false or a custom repairText to override.
    • Exports: cascadeRepairText and enhancedRepairText are exported for advanced use and custom repair pipelines.
    • Reliability: Type validation after repair so non-JSON or string-wrapped output is rejected when the schema expects an object/array; fallback merge no longer spreads primitives into the result.
    • Docs & examples: READMEs updated with cascade repair description and links; new examples/node/src/test-cascade-repair.ts example for repair behavior (run with --llm for LLM object generation).

v3.5.0

Compare Source

Minor Changes
  • 13d0d64: Fix streaming of reasoning (think) content so that fullStream correctly emits reasoning-start, reasoning-delta, and reasoning-end parts with a stable ID when using models with think: true (e.g. DeepSeek-R1, Qwen 3). Ensures the AI SDK can aggregate reasoning content and that multiple reasoning chunks from the API are represented as a single reasoning span. Message conversion now includes reasoning parts when converting assistant messages to Ollama format.

v3.4.0

Compare Source

Minor Changes
  • 8ddf295: Updated to ai-sdk to 6.0.70

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependency label Feb 9, 2026
@renovate renovate bot requested a review from devtobi February 9, 2026 02:16
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch 7 times, most recently from f2c13ac to 75f934a Compare February 10, 2026 18:09
@renovate renovate bot changed the title fix(deps): update dependency ai-sdk-ollama to v3.4.0 fix(deps): update dependency ai-sdk-ollama to v3.5.0 Feb 10, 2026
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch from 75f934a to 6939695 Compare February 15, 2026 00:51
@renovate renovate bot changed the title fix(deps): update dependency ai-sdk-ollama to v3.5.0 fix(deps): update dependency ai-sdk-ollama to v3.6.0 Feb 15, 2026
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch from 6939695 to 4a003a1 Compare February 15, 2026 09:30
@renovate renovate bot changed the title fix(deps): update dependency ai-sdk-ollama to v3.6.0 fix(deps): update dependency ai-sdk-ollama to v3.7.0 Feb 15, 2026
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch from 4a003a1 to 7b373eb Compare February 21, 2026 00:54
@renovate renovate bot changed the title fix(deps): update dependency ai-sdk-ollama to v3.7.0 fix(deps): update dependency ai-sdk-ollama to v3.7.1 Feb 21, 2026
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch 6 times, most recently from 8301e67 to 77bf8e6 Compare February 27, 2026 20:39
@renovate renovate bot changed the title fix(deps): update dependency ai-sdk-ollama to v3.7.1 fix(deps): update dependency ai-sdk-ollama to v3.8.0 Feb 27, 2026
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch 6 times, most recently from dc815ad to 0560d73 Compare March 3, 2026 06:04
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch 5 times, most recently from ce0495e to cdcb6c1 Compare March 9, 2026 18:12
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch 4 times, most recently from f49a16a to 1f6b1cc Compare March 16, 2026 15:06
@renovate renovate bot force-pushed the renovate/ai-sdk-ollama-3.x branch from 1f6b1cc to 3376d93 Compare March 19, 2026 21:20
@renovate renovate bot changed the title fix(deps): update dependency ai-sdk-ollama to v3.8.0 fix(deps): update dependency ai-sdk-ollama to v3.8.1 Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant