-
Notifications
You must be signed in to change notification settings - Fork 455
Model not found using Gemini api #9
Description
./claw-dev.sh
[dotenv@17.3.1] injecting env (30) from ../.env -- tip: ⚙️ enable debug logging with { debug: true }
Branding patch already applied or no matching strings found.
Claw Dev provider setup
- Anthropic account or ANTHROPIC_API_KEY
- OpenAI API
- Gemini API
- Groq API
- Copilot (GitHub Models API)
- z.ai API
- Ollama (local)
Choose a provider [1]: Gemini API
Unknown provider option: Gemini API
┌──(root💀adm-LawsuitAncient)-[~/claw-dev/Leonxlnx-claude-code]
└─# ./claw-dev.sh
[dotenv@17.3.1] injecting env (30) from ../.env -- tip: 🛡️ auth for agents: https://vestauth.com
Branding patch already applied or no matching strings found.
Claw Dev provider setup
- Anthropic account or ANTHROPIC_API_KEY
- OpenAI API
- Gemini API
- Groq API
- Copilot (GitHub Models API)
- z.ai API
- Ollama (local)
Choose a provider [1]: 3
Suggested gemini models: gemini-2.5-flash, gemini-2.5-pro, gemma-3-27b-it
Model for gemini [gemini-2.5-flash] (any model id is allowed): gemini-2.5-flash
Launching Gemini mode with model gemini-2.5-flash.
╭─── Claw Dev v2.1.87 ────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐CLAWD▌ │ Recent activity │
│ ▝▜ DEV ▛▘ │ No recent activity │
│ │ │
│ │ │
│ Sonnet 4 · API Usage Billing │ │
│ ~/claw-dev/Leonxlnx-claude-code │ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯
❯ hi
⎿ 500 {"type":"error","error":{"type":"api_error","message":"{"error":{"code":404,"message":"models/claude-sonnet-4-20250514 is not found for API version v1beta, or is not supported for
generateContent. Call ListModels to see the list of available models and their supported methods.","status":"NOT_FOUND"}}"}}
Retrying in 0 seconds… (attempt 4/10)
✢ Honking… (34s)