- 12 Tier 1 providers now carry success_codes, failure_codes, rate_limit_codes
- {{KEY}} template in headers or URL (double-brace canonical form)
- metadata_paths added where provider APIs return useful metadata
- Anthropic switched to POST /v1/messages with minimal body
- Perplexity gains JSON body, content-type header
- Inflection verify URL left empty (no public endpoint)
- Dual-location sync preserved: providers/ mirrors pkg/providers/definitions/
23 lines
497 B
YAML
23 lines
497 B
YAML
format_version: 1
|
|
name: google-ai
|
|
display_name: Google AI (Gemini)
|
|
tier: 1
|
|
last_verified: "2026-04-05"
|
|
keywords:
|
|
- "AIzaSy"
|
|
- "gemini"
|
|
- "google_api"
|
|
- "generativelanguage"
|
|
patterns:
|
|
- regex: 'AIzaSy[A-Za-z0-9_\-]{33}'
|
|
entropy_min: 3.5
|
|
confidence: high
|
|
verify:
|
|
method: GET
|
|
url: https://generativelanguage.googleapis.com/v1/models?key={{KEY}}
|
|
success_codes: [200]
|
|
failure_codes: [400, 401, 403]
|
|
rate_limit_codes: [429]
|
|
metadata_paths:
|
|
first_model: "models.0.name"
|