TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
patch-1
00b594e8 fix(ai, ai-openai): normalize null tool input to empty object (#430) * fix(ai, ai-openai): normalize null tool input to empty object When a model produces a tool_use block with no input (or literal null), JSON.parse('null') returns null, which fails Zod schema validation and silently kills the agent loop. Normalize null/non-object parsed tool input to {} in four locations: - executeToolCalls(): after JSON.parse of arguments string - ToolCallManager.completeToolCall(): before JSON.stringify of event input - ToolCallManager.executeTools(): replace fragile string comparison - OpenAI adapter: in TOOL_CALL_END emission (matching existing Anthropic fix) Fixes #265 * changeset: fix null tool input normalization * fix: resolve type errors in null input test * fix(ai-gemini, ai-ollama): normalize null tool input + add e2e regression test Extend the null tool input normalization to the Gemini and Ollama adapters (both were missing the guard in TOOL_CALL_END emission). Add an e2e regression test for issue #265 that verifies the full flow: aimock returns a tool call with "null" arguments → adapter normalizes null → {} → tool executes successfully → agent loop continues → follow-up text response is received. * ci: apply automated fixes * test: increase timeout for null-tool-input e2e test in CI The selectScenario + waitForTestComplete calls can be slow on CI cold-start. Increase timeout from 15s to 30s to avoid flaky failures. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
4 days ago
by Alem Tuzlak
A
Succeeded
patch-1
00b594e8 Merge cb0b43534525569d39dab4086b9977e1327520a5 into c780bc127755ecf7e900343bf0e4d4823ff526ca
4 days ago
by Oskar Schö...
O
Succeeded
patch-1
48135c81 Fix component name in docs
5 days ago
by Oskar Schö...
O
Succeeded
patch-1
48135c81 Merge bea0f88ca63d035fc2a19e9cccb9f0bb46a1100d into cf19b8a56cc8db3e1fdcdb96cd1a6f132349d068
5 days ago
by Oskar Schö...
O
Succeeded
patch-1
48135c81 Fix component name in docs
5 days ago
by Oskar Schö...
O
Previous page
Previous
Next
Next page