Skip to content

v1.3.5: Model-Validated Context Caching & Resilience Fallback

Choose a tag to compare

@derailed-dash derailed-dash released this 22 Jul 21:44
· 78 commits to main since this release
ed6049e

What's Changed

  • Model-Validated Context Caching: Prevents INVALID_ARGUMENT 400 errors when switching Gemini models (e.g. from gemini-3.5-flash to gemini-3.6-flash). Context cache display names are now model-scoped (repo-cache-{repo}-{model}) and existing server cache handles are validated against the requested model before reuse.
  • Resilient Generation Fallback: If calling generate_content with a cached content handle fails for any reason, the action logs a warning and automatically falls back to direct context generation without interrupting the CI pipeline.
  • Vertex AI / Publisher Prefix Normalisation: Enhanced _normalize_model_name() to handle Vertex AI / Agent Platform resource strings (publishers/google/models/...).
  • Dogfooding Workflows: Upgraded repository GitHub Actions workflow configurations to gemini-3.6-flash.

Full Changelog: v1.3.4...v1.3.5