test(provider): preserve azure case ordering
This commit is contained in:
parent
ef51ac9b7f
commit
fc0444a598
1 changed files with 6 additions and 6 deletions
|
|
@ -64,18 +64,18 @@ func TestExtractProtocol(t *testing.T) {
|
|||
wantProtocol: "nvidia",
|
||||
wantModelID: "meta/llama-3.1-8b",
|
||||
},
|
||||
{
|
||||
name: "cloudflare model id keeps full path",
|
||||
model: "@cf/qwen/qwen1.5-0.5b-chat",
|
||||
wantProtocol: "openai",
|
||||
wantModelID: "@cf/qwen/qwen1.5-0.5b-chat",
|
||||
},
|
||||
{
|
||||
name: "azure with prefix",
|
||||
model: "azure/my-gpt5-deployment",
|
||||
wantProtocol: "azure",
|
||||
wantModelID: "my-gpt5-deployment",
|
||||
},
|
||||
{
|
||||
name: "cloudflare model id keeps full path",
|
||||
model: "@cf/qwen/qwen1.5-0.5b-chat",
|
||||
wantProtocol: "openai",
|
||||
wantModelID: "@cf/qwen/qwen1.5-0.5b-chat",
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue