Skip to content

Commit

Permalink
Merge pull request #30 from pilksoc/logging
Browse files Browse the repository at this point in the history
fix: plx worky worky
  • Loading branch information
djpiper28 authored Mar 3, 2024
2 parents 290d9c8 + 032744a commit 01eacfc
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 01eacfc

Please sign in to comment.