mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-26 01:25:35 +00:00
* fix(kosong): repair mismatched schema types from Xcode 26.5 MCP Xcode 26.5 (17F42) mcpbridge generates contradictory JSON Schemas where String-backed Swift enums carry type: 'object' alongside string enum values. Moonshot rejects these as invalid. Detect and repair the mismatch in normalizeKimiToolSchema, stripping irrelevant structure keys after the fix. Closes #302 * fix(kosong): avoid dumping full tool schemas on schema-related 400 errors * fix(kosong): redact enum and const values in schema repair diagnostics * fix(kosong): keep schema repair quiet --------- Co-authored-by: 7Sageer <7sageer@djwcb.cn> |
||
|---|---|---|
| .. | ||
| kimi-schema.test.ts | ||