mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-19 02:17:46 +00:00
19 lines
555 B
Go
19 lines
555 B
Go
package util
|
|
|
|
import "testing"
|
|
|
|
func TestNormalizeDroidCustomModel_GeminiClaude(t *testing.T) {
|
|
in := "custom:CLIProxy-(local):-gemini-claude-opus-4-5-thinking-12"
|
|
if got := NormalizeDroidCustomModel(in); got != "gemini-claude-opus-4-5-thinking" {
|
|
t.Fatalf("NormalizeDroidCustomModel=%q", got)
|
|
}
|
|
}
|
|
|
|
func TestNormalizeDroidCustomModel_GPTReasoning(t *testing.T) {
|
|
in := "custom:CLIProxy-(local):-gpt-5.2-(reasoning:-medium)-2"
|
|
if got := NormalizeDroidCustomModel(in); got != "gpt-5.2(medium)" {
|
|
t.Fatalf("NormalizeDroidCustomModel=%q", got)
|
|
}
|
|
}
|
|
|