mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-14 06:13:16 +00:00
feat: add anonymization flag
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
This commit is contained in:
@@ -55,7 +55,6 @@ func (c *OpenAIClient) GetCompletion(ctx context.Context, prompt string) (string
|
||||
}
|
||||
|
||||
func (a *OpenAIClient) Parse(ctx context.Context, prompt []string, nocache bool) (string, error) {
|
||||
// parse the text with the AI backend
|
||||
inputKey := strings.Join(prompt, " ")
|
||||
// Check for cached data
|
||||
sEnc := base64.StdEncoding.EncodeToString([]byte(inputKey))
|
||||
|
Reference in New Issue
Block a user