Skip to content

Commit 3fab401

Browse files
AmbratolmAmbratolm
authored andcommitted
Fixed ai reply text limit to 2000
1 parent 8a90452 commit 3fab401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/ai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ActAi(BaseModel):
2222
api_key: NonEmptyStr
2323
instructions: NonEmptyStr | list[NonEmptyStr] | None = None
2424
model_name: str = Field(alias="model", default="gemini-2.0-flash")
25-
response_char_limit: int = 4000
25+
response_char_limit: int = 2000 # Used to be 4000 hmm
2626

2727
_client: Client | None = None
2828
_config: GenerateContentConfig | None = None

0 commit comments

Comments
 (0)