feat: add Codex and OpenCode routers with multi-provider support and updated configurations

This commit is contained in:
Musa 2026-02-25 10:16:09 -08:00
parent 69d650a4e5
commit 5d35a3ae18
No known key found for this signature in database
8 changed files with 347 additions and 4 deletions

View file

@ -19,11 +19,11 @@ model_providers:
- name: code understanding
description: understand and explain existing code snippets, functions, or libraries
# Anthropic Models
- model: anthropic/claude-sonnet-4-5
default: true
- model: anthropic/claude-sonnet-4-6
access_key: $ANTHROPIC_API_KEY
- model: anthropic/claude-haiku-4-5
- model: anthropic/claude-haiku-4-5-20251001
default: true
access_key: $ANTHROPIC_API_KEY
# Ollama Models
@ -35,7 +35,7 @@ model_providers:
model_aliases:
# Alias for a small faster Claude model
arch.claude.code.small.fast:
target: claude-haiku-4-5
target: claude-haiku-4-5-20251001
tracing:
random_sampling: 100