mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2026-01-14 05:14:23 +08:00
@@ -125,7 +125,7 @@ def chatgpt_pro_handler(message: Message, bot: TeleBot) -> None:
|
|||||||
try:
|
try:
|
||||||
r = client.chat.completions.create(
|
r = client.chat.completions.create(
|
||||||
messages=player_message,
|
messages=player_message,
|
||||||
max_tokens=8192,
|
max_tokens=4096,
|
||||||
model=CHATGPT_PRO_MODEL,
|
model=CHATGPT_PRO_MODEL,
|
||||||
stream=True,
|
stream=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user