Files
kit/internal/tools
Ed Zynda 443410018c fix: prevent null 'required' in MCP tool schemas breaking OpenAI API
OpenAI strictly validates JSON Schema and rejects 'required': null (expects
an array). When MCP tools had no required fields, the nil []string serialized
as null. Initialize required as []string{} and sanitize nested schemas
recursively to remove null/invalid required fields from MCP server responses.
2026-02-25 22:51:56 +03:00
..
2025-11-12 16:48:46 +03:00
2025-11-12 16:48:46 +03:00