Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
usage: a ClinePass contributor-fallbacks route still shows as a swap (plugins#351)
yetone24f24abde324
diff --git a/internal/gateway/history_gemini_test.go b/internal/gateway/history_gemini_test.goindex 591fcb01c..df0aadecd 100644--- a/internal/gateway/history_gemini_test.go+++ b/internal/gateway/history_gemini_test.go@@ -51,4 +51,10 @@ func TestRouteKeptClineServingNameNotSwapped(t *testing.T) {if !r.Swapped || !r.Tries[0].Swapped {t.Fatalf("a real swap was cleared: %+v", r)}+ // a contributor-fallbacks config is another deployment (plugins#351)+ r = &Route{Swapped: true, Served: "vmc/deepseek-v4p1-flash-1017-contributor-fallbacks", Tries: []Try{{Model: "cline-pass/deepseek-v4.1-flash-1017", Served: "vmc/deepseek-v4p1-flash-1017-contributor-fallbacks", Swapped: true}}}+ r.routedAgain()+ if !r.Swapped || !r.Tries[0].Swapped {+ t.Fatalf("a contributor-fallbacks route was cleared: %+v", r)+ }}diff --git a/internal/usage/served_cline_test.go b/internal/usage/served_cline_test.goindex 0b24816d2..25d2c7a84 100644--- a/internal/usage/served_cline_test.go+++ b/internal/usage/served_cline_test.go@@ -28,6 +28,10 @@ func TestSwappedClineServingName(t *testing.T) {{"cline-pass/glm-5.3", "vmc/glm-5p3-flash"},{"deepseek/deepseek-v4.1-flash", "vmc/deepseek-v4p1-flash"},{"cline-pass/deepseek-v4.1-flash", "other/deepseek-v4p1-flash"},+ {"cline-pass/deepseek-v4.1-flash-1017", "vmc/deepseek-v4p1-flash-1017-contributor-fallbacks"},+ {"cline-pass/deepseek-v4.1-flash", "vmc/deepseek-v4p1-flash-contributor-fallbacks"},+ {"cline-pass/deepseek-v4.1-flash-1017", "vmc/deepseek-v4p1-flash-1017-contributor"},+ {"cline-pass/deepseek-v4.1-flash-1017", "vmc/deepseek-v4p1-flash-1017-fallbacks"},} {if !Swapped(c[0], c[1]) {t.Errorf("%s answered as %s is another model", c[0], c[1])