mirror of
https://github.com/katanemo/plano.git
synced 2026-05-24 14:05:14 +02:00
feat: implement capability-aware routing for OpenAI Responses API, enhancing model selection and error handling for unsupported tools
This commit is contained in:
parent
eed196bc81
commit
2210f69db0
8 changed files with 189 additions and 39 deletions
|
|
@ -7,22 +7,22 @@ listeners:
|
|||
|
||||
model_providers:
|
||||
# OpenAI Models
|
||||
- model: openai/gpt-5-2025-08-07
|
||||
- model: openai/gpt-5.3-codex
|
||||
default: true
|
||||
access_key: $OPENAI_API_KEY
|
||||
routing_preferences:
|
||||
- name: code generation
|
||||
description: generating new code snippets, functions, or boilerplate based on user prompts or requirements
|
||||
|
||||
- model: openai/gpt-4.1-2025-04-14
|
||||
- model: openai/gpt-5-2025-08-07
|
||||
access_key: $OPENAI_API_KEY
|
||||
routing_preferences:
|
||||
- name: code understanding
|
||||
description: understand and explain existing code snippets, functions, or libraries
|
||||
|
||||
# Anthropic Model
|
||||
- model: anthropic/claude-sonnet-4-6
|
||||
access_key: $ANTHROPIC_API_KEY
|
||||
# # Anthropic Model
|
||||
# - model: anthropic/claude-sonnet-4-6
|
||||
# access_key: $ANTHROPIC_API_KEY
|
||||
|
||||
# Ollama Model (optional local fallback)
|
||||
- model: ollama/llama3.1
|
||||
|
|
@ -32,7 +32,7 @@ model_providers:
|
|||
model_aliases:
|
||||
# Default model Codex should request when launched by planoai cli-agent codex
|
||||
arch.codex.default:
|
||||
target: gpt-5-2025-08-07
|
||||
target: gpt-5.3-codex
|
||||
|
||||
tracing:
|
||||
random_sampling: 100
|
||||
|
|
|
|||
|
|
@ -7,22 +7,22 @@ listeners:
|
|||
|
||||
model_providers:
|
||||
# OpenAI Models
|
||||
- model: openai/gpt-5-2025-08-07
|
||||
- model: openai/gpt-5.3-codex
|
||||
default: true
|
||||
access_key: $OPENAI_API_KEY
|
||||
routing_preferences:
|
||||
- name: code generation
|
||||
description: generating new code snippets, functions, or boilerplate based on user prompts or requirements
|
||||
|
||||
- model: openai/gpt-4.1-2025-04-14
|
||||
- model: openai/gpt-5-2025-08-07
|
||||
access_key: $OPENAI_API_KEY
|
||||
routing_preferences:
|
||||
- name: code understanding
|
||||
description: understand and explain existing code snippets, functions, or libraries
|
||||
|
||||
# Anthropic Model
|
||||
- model: anthropic/claude-sonnet-4-6
|
||||
access_key: $ANTHROPIC_API_KEY
|
||||
# # Anthropic Model
|
||||
# - model: anthropic/claude-sonnet-4-6
|
||||
# access_key: $ANTHROPIC_API_KEY
|
||||
|
||||
# Ollama Model (optional local fallback)
|
||||
- model: ollama/llama3.1
|
||||
|
|
@ -32,7 +32,7 @@ model_providers:
|
|||
model_aliases:
|
||||
# Default model OpenCode should request when launched by planoai cli-agent opencode
|
||||
arch.opencode.default:
|
||||
target: gpt-5-2025-08-07
|
||||
target: gpt-5.3-codex
|
||||
|
||||
tracing:
|
||||
random_sampling: 100
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue