@@ -3,7 +3,7 @@ package openai_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
. "github.com/sashabaranov/go-openai"
|
||||
"github.com/sashabaranov/go-openai"
|
||||
)
|
||||
|
||||
func TestGetAzureDeploymentByModel(t *testing.T) {
|
||||
@@ -49,7 +49,7 @@ func TestGetAzureDeploymentByModel(t *testing.T) {
|
||||
|
||||
for _, c := range cases {
|
||||
t.Run(c.Model, func(t *testing.T) {
|
||||
conf := DefaultAzureConfig("", "https://test.openai.azure.com/")
|
||||
conf := openai.DefaultAzureConfig("", "https://test.openai.azure.com/")
|
||||
if c.AzureModelMapperFunc != nil {
|
||||
conf.AzureModelMapperFunc = c.AzureModelMapperFunc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user