Skip to content

Commit

Permalink
use v1 instead of v1beta1 for vertex api chat
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks committed Nov 19, 2024
1 parent 9c990ca commit 30b2d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/ai-proxy/api/vertex/vertex.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
type Endpoint string

const (
EndpointChat = "/v1beta1/projects/${PROJECT_ID}/locations/${LOCATION}/endpoints/openapi/chat/completions"
EndpointChat = "/v1/projects/${PROJECT_ID}/locations/${LOCATION}/endpoints/openapi/chat/completions"
EnvProjectID = "PROJECT_ID"
EnvLocation = "LOCATION"
)
Expand Down

0 comments on commit 30b2d9d

Please sign in to comment.