Skip to content

Commit

Permalink
chore: set default api_version the same as py one "2023-03-15-preview"
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Apr 3, 2023
1 parent 006ac90 commit 84ea881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ func DefaultConfig(authToken string) ClientConfig {
}
}

func DefaultAzure(apiKey, baseURl, engine, apiVersion string) ClientConfig {
func DefaultAzure(apiKey, baseURl, engine string) ClientConfig {
return ClientConfig{
authToken: apiKey,
BaseURL: baseURl,
OrgID: "",
APIType: APITypeAzure,
APIVersion: apiVersion,
APIVersion: "2023-03-15-preview",
Engine: engine,

HTTPClient: &http.Client{},
Expand Down

0 comments on commit 84ea881

Please sign in to comment.