test(provider): cover azure and cloudflare model ids
This commit is contained in:
parent
301d2f8bf9
commit
ef51ac9b7f
1 changed files with 6 additions and 0 deletions
|
|
@ -70,6 +70,12 @@ func TestExtractProtocol(t *testing.T) {
|
|||
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",
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue