remove max tokens becuase it breaks the ai

This commit is contained in:
unintendedfraud
2025-05-22 13:14:07 +02:00
parent 8301a7f1a7
commit 15c1ed8ac4
-1
View File
@@ -39,7 +39,6 @@ func (client Client) GenerateContent(content []*genai.Content) (*genai.GenerateC
content, content,
&genai.GenerateContentConfig{ &genai.GenerateContentConfig{
Temperature: &temp, Temperature: &temp,
MaxOutputTokens: 800,
SystemInstruction: &genai.Content{ SystemInstruction: &genai.Content{
Role: "system", Role: "system",
Parts: []*genai.Part{ Parts: []*genai.Part{