mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
increase max_tokens from 1024 to 2048 in chatgpt_photo_handler
This commit is contained in:
parent
2abcc90a32
commit
a48187e98c
@ -173,7 +173,7 @@ def chatgpt_photo_handler(message: Message, bot: TeleBot) -> None:
|
||||
|
||||
try:
|
||||
r = client.chat.completions.create(
|
||||
max_tokens=1024,
|
||||
max_tokens=2048,
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
|
Loading…
x
Reference in New Issue
Block a user