refactor(plugin): remove AI slop and clean verbose comments

This commit is contained in:
YeonGyu-Kim
2026-04-03 21:42:14 +09:00
parent 6b431c5522
commit 66cc823ff3
6 changed files with 6 additions and 16 deletions
-1
View File
@@ -41,7 +41,6 @@ export function normalizeToolArgSchemas<TDefinition extends Pick<ToolDefinition,
return toolDefinition
}
// Schema keywords unsupported by Gemini — strip them from MCP tool schemas
const UNSUPPORTED_SCHEMA_KEYWORDS = new Set(["contentEncoding", "contentMediaType"])
function isRecord(value: unknown): value is Record<string, unknown> {