mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
fix: 4096
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
870a1db1fc
commit
d9411dda3e
@ -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,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user