Skip to content

Commit 1920a43

Browse files
committed
update max token (for dialog length)
1 parent a0935ee commit 1920a43

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=240
19+
max_tokens=1024
2020
)
2121
return response['choices'][0]['text'].strip()
2222

0 commit comments

Comments
 (0)