Summary
A new user reported an issue when using the MCP server with @effect/ai-openai. The expected tool call name "OpenAiMcp" does not match the tool name returned in OpenAI's MCP response ("mcp.CheckPackage"), resulting in an Invalid output AiError during decoding. The error occurs at the generateText call in LanguageModel. This appears to be a bug in the library handling MCP tool names.
Discord thread
https://discord.com/channels/795981131316985866/1481292188200472717
Summary
A new user reported an issue when using the MCP server with @effect/ai-openai. The expected tool call name "OpenAiMcp" does not match the tool name returned in OpenAI's MCP response ("mcp.CheckPackage"), resulting in an Invalid output AiError during decoding. The error occurs at the generateText call in LanguageModel. This appears to be a bug in the library handling MCP tool names.
Discord thread
https://discord.com/channels/795981131316985866/1481292188200472717