chore(deps): update dependency ai-sdk-ollama to v3.8.0#377
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency ai-sdk-ollama to v3.8.0#377renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
b7a4cb2 to
481170f
Compare
481170f to
ca2815d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.0→3.8.0Release Notes
jagreehal/ai-sdk-ollama (ai-sdk-ollama)
v3.8.0Compare Source
Minor Changes
ed617f1: - Fix: MakeOllamaProviderOptions,OllamaChatProviderOptions, andOllamaEmbeddingProviderOptionscompatible with the AI SDK'sproviderOptions(Record<string, JSONObject>). They are now defined as type aliases from Zod schemas (z.infer), so passing e.g.providerOptions: { ollama: { structuredOutputs: true } }intostreamText,generateText, orToolLoopAgenttype-checks correctly (fixes #548).ollamaProviderOptionsSchema,ollamaChatProviderOptionsSchema,ollamaEmbeddingProviderOptionsSchema, andollamaRerankingProviderOptionsSchemafor validation or parsing.ollama.imageModel(modelId)andOllamaImageModel, using the AI SDK'sgenerateImage()and experimental Ollama image models (e.g.x/z-image-turbo,x/flux2-klein). SupportsproviderOptions.ollama(e.g.steps,negative_prompt).parseProviderOptionsfrom@ai-sdk/provider-utilsforproviderOptions.ollama;OllamaRerankingProviderOptionsis now a type inferred from the exported schema.v3.7.1Compare Source
Patch Changes
70def97: Support media/image content in tool result messages. When a tool returnsoutput.type === 'content'withimage-data,image-url, orfile-data(image) parts, the provider now sends them in the tool message'simagesarray to Ollama. Fixes #527.v3.7.0Compare Source
Minor Changes
229a396: Use jsonrepair for tool-call argument parsingparseToolArgumentsnow uses jsonrepair whenJSON.parsefails, so malformed tool-argument strings (trailing commas, unquoted keys, single quotes) are repaired instead of returning{}. Same logic is used when converting messages inconvertToOllamaChatMessages."{\"query\":\"weather\"}"), the inner JSON is now parsed so tool arguments are not lost.parseToolArgumentsandresolveToolCallingOptionsare now exported from the main and browser entry points for advanced use.tool-json-repair-example.tsin examples/node demonstrates tool-argument repair;json-repair-example.tsand README updated to reference it.v3.6.0Compare Source
Minor Changes
2cd78cc: Structured output / object generationenhancedRepairText) for edge cases (PythonTrue/None, URLs with//, smart quotes, etc.). Repair remains on by default; useenableTextRepair: falseor a customrepairTextto override.cascadeRepairTextandenhancedRepairTextare exported for advanced use and custom repair pipelines.examples/node/src/test-cascade-repair.tsexample for repair behavior (run with--llmfor LLM object generation).v3.5.0Compare Source
Minor Changes
13d0d64: Fix streaming of reasoning (think) content so thatfullStreamcorrectly emitsreasoning-start,reasoning-delta, andreasoning-endparts with a stable ID when using models withthink: 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.0Compare Source
Minor Changes
8ddf295: Updated to ai-sdk to 6.0.70Configuration
📅 Schedule: Branch creation - "after 01:00 and before 07:00 every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.