mirror of
https://github.com/gnekt/My-Brain-Is-Full-Crew.git
synced 2026-09-14 01:37:34 +00:00
Modify generic name for model tiers
Co-Authored-By: win0na <winnie@winneon.moe> refactor: neutral model vocabulary (low/mid/high) in source agents feat(claude-code): cc_model_to_native() maps low/mid/high to haiku/sonnet/opus Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> feat(opencode): update oc_model_to_provider() for low/mid/high vocabulary Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,7 @@ test_translate_agents_basic() {
|
||||
---
|
||||
name: scribe
|
||||
description: Test scribe
|
||||
model: sonnet
|
||||
model: mid
|
||||
mode: subagent
|
||||
capabilities: [read, write, edit]
|
||||
---
|
||||
@@ -98,7 +98,7 @@ test_translate_agents_bash_capability() {
|
||||
---
|
||||
name: architect
|
||||
description: Test
|
||||
model: opus
|
||||
model: high
|
||||
capabilities: [read, write, edit, bash]
|
||||
---
|
||||
|
||||
@@ -183,3 +183,12 @@ EOF
|
||||
rm -rf "$src" "$dst"
|
||||
return $result
|
||||
}
|
||||
|
||||
test_cc_model_to_native_maps_tiers() {
|
||||
local result=0
|
||||
[[ "$(cc_model_to_native "low")" == "haiku" ]] || { echo "low→haiku failed"; result=1; }
|
||||
[[ "$(cc_model_to_native "mid")" == "sonnet" ]] || { echo "mid→sonnet failed"; result=1; }
|
||||
[[ "$(cc_model_to_native "high")" == "opus" ]] || { echo "high→opus failed"; result=1; }
|
||||
[[ "$(cc_model_to_native "anthropic/custom")" == "anthropic/custom" ]] || { echo "passthrough failed"; result=1; }
|
||||
return $result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user