Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ Use exact overrides for gateways instead of guessing provider prefixes:
```yaml
model: inherit
models:
claude-code: anthropic/claude-sonnet-5
opencode: my-gateway/anthropic/claude-sonnet-5
claude-code: anthropic/claude-haiku-5-5
opencode: my-gateway/anthropic/claude-haiku-5-5
```

These IDs illustrate routing syntax, not model availability. Use IDs advertised by your
Expand Down
6 changes: 3 additions & 3 deletions crates/agentspec/src/ops/agent_render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ mod tests {
}
#[test]
fn exact_proxy_overrides_and_claude_aliases() {
let src = "---\nmodel: sonnet\nmodels:\n opencode: proxy/anthropic/claude-sonnet-5\n claude-code: anthropic/claude-sonnet-5\n---\nBody";
let src = "---\nmodel: sonnet\nmodels:\n opencode: proxy/anthropic/claude-haiku-5-5\n claude-code: anthropic/claude-haiku-5-5\n---\nBody";
for (tool, model) in [
("opencode", "proxy/anthropic/claude-sonnet-5"),
("claude-code", "anthropic/claude-sonnet-5"),
("opencode", "proxy/anthropic/claude-haiku-5-5"),
("claude-code", "anthropic/claude-haiku-5-5"),
] {
let out = render(src, tool).unwrap();
let fm: Value =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tools:
- Write
disallowedTools:
- WebSearch
model: claude-sonnet-4-5
model: claude-haiku-5-5
maxTurns: 12
color: purple
permissionMode: acceptEdits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Performs background research with citations.
tools:
- google_web_search
- web_fetch
model: gemini-2.5-pro
model: gemini-3.1-flash-lite
temperature: 0.4
max_turns: 8
timeout_mins: 15
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tools:
- Write
disallowed_tools:
- WebSearch
model: claude-sonnet-4-5
model: claude-haiku-5-5
max_turns: 12
color: purple
permission_mode: acceptEdits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body: "Research the topic and cite every source you use.\n"
tools:
- google_web_search
- web_fetch
model: gemini-2.5-pro
model: gemini-3.1-flash-lite
max_turns: 8
temperature: 0.4
timeout_mins: 15
Expand Down
Loading