Open
Conversation
73dac8e to
2107fe2
Compare
2107fe2 to
d24f576
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@tanstack/ai@0.10.3
Patch Changes
fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object (#430)
When a model produces a
tool_useblock with no input,JSON.parse('null')returnsnullwhich fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to{}inexecuteToolCalls,ToolCallManager.completeToolCall,ToolCallManager.executeTools, and the OpenAI/Gemini/Ollama adapterTOOL_CALL_ENDemissions. The Anthropic adapter already had this fix.Updated dependencies []:
@tanstack/ai-anthropic@0.7.4
Patch Changes
Update model metadata from OpenRouter API (#451)
Updated dependencies [
c780bc1]:@tanstack/ai-client@0.7.10
Patch Changes
c780bc1]:@tanstack/ai-code-mode@0.1.3
Patch Changes
c780bc1]:@tanstack/ai-code-mode-skills@0.1.3
Patch Changes
c780bc1]:@tanstack/ai-devtools-core@0.3.20
Patch Changes
c780bc1]:@tanstack/ai-event-client@0.2.3
Patch Changes
c780bc1]:@tanstack/ai-fal@0.6.13
Patch Changes
c780bc1]:@tanstack/ai-gemini@0.8.8
Patch Changes
fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object (#430)
When a model produces a
tool_useblock with no input,JSON.parse('null')returnsnullwhich fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to{}inexecuteToolCalls,ToolCallManager.completeToolCall,ToolCallManager.executeTools, and the OpenAI/Gemini/Ollama adapterTOOL_CALL_ENDemissions. The Anthropic adapter already had this fix.Updated dependencies [
c780bc1]:@tanstack/ai-isolate-cloudflare@0.1.3
Patch Changes
@tanstack/ai-isolate-node@0.1.3
Patch Changes
@tanstack/ai-isolate-quickjs@0.1.3
Patch Changes
@tanstack/ai-ollama@0.6.6
Patch Changes
fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object (#430)
When a model produces a
tool_useblock with no input,JSON.parse('null')returnsnullwhich fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to{}inexecuteToolCalls,ToolCallManager.completeToolCall,ToolCallManager.executeTools, and the OpenAI/Gemini/Ollama adapterTOOL_CALL_ENDemissions. The Anthropic adapter already had this fix.Updated dependencies [
c780bc1]:@tanstack/ai-openai@0.7.5
Patch Changes
fix(ai, ai-openai, ai-gemini, ai-ollama): normalize null tool input to empty object (#430)
When a model produces a
tool_useblock with no input,JSON.parse('null')returnsnullwhich fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to{}inexecuteToolCalls,ToolCallManager.completeToolCall,ToolCallManager.executeTools, and the OpenAI/Gemini/Ollama adapterTOOL_CALL_ENDemissions. The Anthropic adapter already had this fix.Updated dependencies [
c780bc1]:@tanstack/ai-openrouter@0.7.5
Patch Changes
@openrouter/sdkto 0.12.14 (from 0.3.15) (#312)ChatGenerationParams→ChatRequest,ChatResponse→ChatResult) and the renamedchatRequestkey onchat.sendtext-provider-optionstypes from the SDK'sChatRequestso provider options stay in lockstep with the SDK surfacetopK/topA/minP/repetitionPenalty/includeReasoning/verbosity/webSearchOptionsfromOpenRouterBaseOptionsnow that the SDK narrowsChatRequestto OpenAI-compatible fields — callers passing these previously saw them silently stripped at runtime, and now get a TypeScript error insteadexcludedParamsin the model-catalog generator so future syncs don't reintroduce themstructuredOutputto the SDK's nativeresponseFormat: { type: 'json_schema' }instead of coercing the model via a forcedstructured_outputtool call — the schema now flows straight to the provider, yielding cleaner responses and dropping the dummy-tool round-tripadditionalProperties: false, all properties required, optional fields widened to includenull) insidestructuredOutputbefore forwarding — without this, upstream OpenAI rejected the request with "Provider returned error" for schemas generated by Zod / ArkType / Valibotopenrouter/automodelUpdate model metadata from OpenRouter API (#451)
Updated dependencies [
c780bc1]:@tanstack/ai-preact@0.6.15
Patch Changes
c780bc1]:@tanstack/ai-react@0.7.11
Patch Changes
c780bc1]:@tanstack/ai-solid@0.6.15
Patch Changes
c780bc1]:@tanstack/ai-svelte@0.6.15
Patch Changes
c780bc1]:@tanstack/ai-vue@0.6.15
Patch Changes
c780bc1]:@tanstack/ai-vue-ui@0.1.26
Patch Changes
@tanstack/preact-ai-devtools@0.1.24
Patch Changes
@tanstack/react-ai-devtools@0.2.24
Patch Changes
@tanstack/solid-ai-devtools@0.2.24
Patch Changes
ts-svelte-chat@0.1.32
Patch Changes
c780bc1,cb07e01]:ts-vue-chat@0.1.32
Patch Changes
c780bc1,cb07e01]:vanilla-chat@0.0.30
Patch Changes
@tanstack/ai-code-mode-models-eval@0.0.6
Patch Changes
c780bc1,cb07e01]: