From 032744aa49eb0318105c8582b251e9ccc04bced2 Mon Sep 17 00:00:00 2001 From: Danny Piper Date: Sun, 3 Mar 2024 08:51:40 +0000 Subject: [PATCH] fix: plx worky worky --- kube_cache/aiStuff/ai.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube_cache/aiStuff/ai.go b/kube_cache/aiStuff/ai.go index e216061..72074b5 100644 --- a/kube_cache/aiStuff/ai.go +++ b/kube_cache/aiStuff/ai.go @@ -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{