Skip to content

Commit

Permalink
fix: plx worky worky
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Mar 3, 2024
1 parent 3737022 commit 032744a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube_cache/aiStuff/ai.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type aiReq struct {
}

func (ai *KubeAi) generateKubeRecipe(kubeName1, kubeName2 string) (string, error) {
url := fmt.Sprintf("%s/openai/deployments/%s/chats/completions/?api-version=2024-02-15-preview", ai.Endpoint, ai.ModelId)
url := fmt.Sprintf("%s/openai/deployments/%s/chat/completions?api-version=2024-02-15-preview", ai.Endpoint, ai.ModelId)

postReq := aiReq{
Messages: []aiMessage{
Expand Down

0 comments on commit 032744a

Please sign in to comment.