mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-16 06:42:10 +00:00
Test chat gpt4
This commit is contained in:
@@ -575,7 +575,7 @@ async def handle_response(prompt, vykidailo, bartender, history, username, music
|
|||||||
logger.info("Historia wysłana:")
|
logger.info("Historia wysłana:")
|
||||||
logger.debug(history)
|
logger.debug(history)
|
||||||
response = await openai.ChatCompletion.acreate(
|
response = await openai.ChatCompletion.acreate(
|
||||||
model="gpt-3.5-turbo", messages=history
|
model="gpt-4", messages=history
|
||||||
)
|
)
|
||||||
await asyncio.sleep(10)
|
await asyncio.sleep(10)
|
||||||
result = ""
|
result = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user