mirror of
https://github.com/temetro/temetro.git
synced 2026-08-11 02:57:55 +00:00
b2ac27dda7
Give previewImport a concrete object schema (was z.array(z.unknown())) so Google Gemini can emit a real function call — an array-of-unknown serializes to an empty JSON schema, which made Gemini print the call as a `tool_code` text block instead of invoking the tool. Validation stays lenient in execute() via patientInputSchema. Also strengthen the system prompt: never print tool calls/JSON or re-list record fields; keep prose to one sentence. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>