Skip to content

Add Gemini default_api recovery example#35

Merged
gold-silver-copper merged 1 commit into
mainfrom
default-api-recovery-canary
Jun 2, 2026
Merged

Add Gemini default_api recovery example#35
gold-silver-copper merged 1 commit into
mainfrom
default-api-recovery-canary

Conversation

@gold-silver-copper

@gold-silver-copper gold-silver-copper commented May 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a runnable Gemini example that steers the model toward the legacy default_api workspace runtime name
  • attach an InvalidToolCallHook that repairs default_api to the registered JavaScript tool
  • print per-attempt diagnostics and exit with an error if no attempt exercises the repaired default_api path

Verification

  • cargo check --example gemini_default_api_recovery --features derive
  • RIG_GEMINI_DEFAULT_API_CANARY_ATTEMPTS=6 cargo run --example gemini_default_api_recovery --features derive

@gold-silver-copper gold-silver-copper force-pushed the default-api-recovery-canary branch from 407ee4f to c2f4c7d Compare May 29, 2026 21:26
@gold-silver-copper gold-silver-copper changed the title Add Gemini default_api recovery canary Add Gemini default_api recovery example May 29, 2026
@gold-silver-copper gold-silver-copper force-pushed the default-api-recovery-canary branch from c2f4c7d to 49b796b Compare May 29, 2026 23:29
@gold-silver-copper gold-silver-copper merged commit cc6d397 into main Jun 2, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant