remove max tokens becuase it breaks the ai
This commit is contained in:
+1
-2
@@ -38,8 +38,7 @@ func (client Client) GenerateContent(content []*genai.Content) (*genai.GenerateC
|
|||||||
client.model,
|
client.model,
|
||||||
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{
|
||||||
|
|||||||
Reference in New Issue
Block a user