diff --git a/config.go b/config.go index 4788ba62a..8bca405bd 100644 --- a/config.go +++ b/config.go @@ -70,7 +70,7 @@ func DefaultAzureConfig(apiKey, baseURL string) ClientConfig { APIType: APITypeAzure, APIVersion: "2023-05-15", AzureModelMapperFunc: func(model string) string { - return regexp.MustCompile(`[.:]`).ReplaceAllString(model, "") + return regexp.MustCompile(`:`).ReplaceAllString(model, "") }, HTTPClient: &http.Client{},