Skip to content

v0.4.7

Choose a tag to compare

@shankha98 shankha98 released this 26 Jun 13:04
30a6f56

Fixes the real cause of "Gemini stopped working" (surfaced by 0.4.6's raw-error feature).

  • Gemini calls failed whenever a tool with a nested-model schema was attached — including the /ledger tasks tool. Pydantic emits $ref/$defs for nested models, and the google-genai SDK's strict Schema rejects them (ValidationError: extra_forbidden), failing the whole call — and the extra_forbidden text was misclassified as a 403 "key lacks permission, or no quota". The Google provider now sends tool schemas via parameters_json_schema (the SDK's standard-JSON-Schema path, which converts $ref per Gemini's rules). Introduced with the tasks tool in 0.4.4; verified live (gemini-2.5-flash now accepts the tasks tool and emits a valid nested call).
  • Client-side validation errors are no longer misread as provider auth/403 failures.

Full notes in CHANGELOG.md.