Add embedded OpenRouter configuration
This commit is contained in:
60
internal/configuration/bundled/openrouter.yaml
Normal file
60
internal/configuration/bundled/openrouter.yaml
Normal file
@@ -0,0 +1,60 @@
|
||||
backends:
|
||||
- id: openrouter
|
||||
endpoint: https://openrouter.ai/api/v1
|
||||
api_key_env: OPENROUTER_API_KEY
|
||||
smoke_tests:
|
||||
default_profile: gpt-luna-latest
|
||||
authentication:
|
||||
kind: openrouter_key
|
||||
profiles:
|
||||
- id: gpt-astra-latest
|
||||
backend: openrouter
|
||||
model: ~openai/gpt-astra-latest
|
||||
- id: gpt-sol-latest
|
||||
backend: openrouter
|
||||
model: ~openai/gpt-sol-latest
|
||||
- id: gpt-terra-latest
|
||||
backend: openrouter
|
||||
model: ~openai/gpt-terra-latest
|
||||
- id: gpt-luna-latest
|
||||
backend: openrouter
|
||||
model: ~openai/gpt-luna-latest
|
||||
- id: claude-fable-latest
|
||||
backend: openrouter
|
||||
model: ~anthropic/claude-fable-latest
|
||||
- id: claude-opus-latest
|
||||
backend: openrouter
|
||||
model: ~anthropic/claude-opus-latest
|
||||
- id: claude-sonnet-latest
|
||||
backend: openrouter
|
||||
model: ~anthropic/claude-sonnet-latest
|
||||
- id: claude-haiku-latest
|
||||
backend: openrouter
|
||||
model: ~anthropic/claude-haiku-latest
|
||||
- id: gemini-pro-latest
|
||||
backend: openrouter
|
||||
model: ~google/gemini-pro-latest
|
||||
- id: gemini-flash-latest
|
||||
backend: openrouter
|
||||
model: ~google/gemini-flash-latest
|
||||
- id: auto
|
||||
backend: openrouter
|
||||
model: openrouter/auto
|
||||
- id: free
|
||||
backend: openrouter
|
||||
model: openrouter/free
|
||||
- id: auto-low
|
||||
extends: {id: auto}
|
||||
extra_params: {plugins: [{id: auto-router, cost_tier: low}]}
|
||||
- id: auto-medium
|
||||
extends: {id: auto}
|
||||
extra_params: {plugins: [{id: auto-router, cost_tier: medium}]}
|
||||
- id: auto-high
|
||||
extends: {id: auto}
|
||||
extra_params: {plugins: [{id: auto-router, cost_tier: high}]}
|
||||
- id: auto-xhigh
|
||||
extends: {id: auto}
|
||||
extra_params: {plugins: [{id: auto-router, cost_tier: xhigh}]}
|
||||
- id: auto-max
|
||||
extends: {id: auto}
|
||||
extra_params: {plugins: [{id: auto-router, cost_tier: max}]}
|
||||
Reference in New Issue
Block a user