Skip to content

Commit 02d3839

Browse files
committed
change token
1 parent 1920a43 commit 02d3839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/chatgpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_response(self):
1616
temperature=0,
1717
frequency_penalty = 0,
1818
presence_penalty = 0.6,
19-
max_tokens=1024
19+
max_tokens=240
2020
)
2121
return response['choices'][0]['text'].strip()
2222

0 commit comments

Comments
 (0)