You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bd2765e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mcp): prevent null parameters in MCP tool calls for OpenAI-compatible providers
Problem: MCP tool parameters with only a description (no explicit type)
caused MiniMax and other OpenAI-compatible models to receive null values.
Solution:
- Extend sanitizeOpenAISchema() to @ai-sdk/openai-compatible providers
- Improve type inference to add type: "string" when only description is present
- Defensive null-stripping before forwarding to MCP server
- Inherit MCP tool allow permissions in subagent sessions
Fixes: MCP null parameter issue for MiniMax/OpenAI-compatible providers
Refs: anomalyco#21080 (related), anomalyco#16491 (related)
0 commit comments