Skip to content

chore(deps): bump ai-sdk-ollama from 3.0.0 to 3.8.4#2100

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk-ollama-3.8.4
Open

chore(deps): bump ai-sdk-ollama from 3.0.0 to 3.8.4#2100
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk-ollama-3.8.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Bumps ai-sdk-ollama from 3.0.0 to 3.8.4.

Release notes

Sourced from ai-sdk-ollama's releases.

ai-sdk-ollama@3.8.4

Patch Changes

  • 6f81c5d: Updated ai-sdk to v6.0.177

ai-sdk-ollama@3.8.3

Patch Changes

  • 6019088: Updated AI SDK to 6.0.154

ai-sdk-ollama@3.8.2

Patch Changes

  • 92ca938: Fix TypeScript 6.0 build failure caused by deprecated baseUrl option in tsup DTS generation

ai-sdk-ollama@3.8.1

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.

ai-sdk-ollama@3.8.0

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.

ai-sdk-ollama@3.7.1

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.

ai-sdk-ollama@3.7.0

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.

ai-sdk-ollama@3.6.0

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).

... (truncated)

Changelog

Sourced from ai-sdk-ollama's changelog.

3.8.4

Patch Changes

  • 6f81c5d: Updated ai-sdk to v6.0.177

3.8.3

Patch Changes

  • 6019088: Updated AI SDK to 6.0.154

3.8.2

Patch Changes

  • 92ca938: Fix TypeScript 6.0 build failure caused by deprecated baseUrl option in tsup DTS generation

3.8.1

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.

3.8.0

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.

3.7.1

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.

3.7.0

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.

3.6.0

... (truncated)

Commits
  • 6e44808 chore: release packages (#722)
  • 6f81c5d chore(deps): update dependencies to latest versions (#721)
  • 84d713d Merge pull request #714 from jagreehal/dependabot/npm_and_yarn/ai-sdk/provide...
  • 4e14b41 chore(deps): bump @​ai-sdk/provider-utils from 4.0.26 to 4.0.27
  • 9deb621 chore(deps-dev): bump @​types/node from 25.6.0 to 25.6.2
  • 9c10e8c chore(deps-dev): bump typescript-eslint from 8.59.1 to 8.59.2
  • 2d5f4d6 chore(deps-dev): bump @​typescript-eslint/eslint-plugin
  • 7afe9bd Merge pull request #700 from jagreehal/dependabot/npm_and_yarn/typescript-esl...
  • b80b6fb chore(deps-dev): bump @​typescript-eslint/parser from 8.59.1 to 8.59.2
  • f7efa4e chore(deps): bump @​ai-sdk/provider-utils from 4.0.25 to 4.0.26
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ai-sdk-ollama](https://github.com/jagreehal/ai-sdk-ollama/tree/HEAD/packages/ai-sdk-ollama) from 3.0.0 to 3.8.4.
- [Release notes](https://github.com/jagreehal/ai-sdk-ollama/releases)
- [Changelog](https://github.com/jagreehal/ai-sdk-ollama/blob/main/packages/ai-sdk-ollama/CHANGELOG.md)
- [Commits](https://github.com/jagreehal/ai-sdk-ollama/commits/ai-sdk-ollama@3.8.4/packages/ai-sdk-ollama)

---
updated-dependencies:
- dependency-name: ai-sdk-ollama
  dependency-version: 3.8.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants