mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Debug
This commit is contained in:
parent
62c4d400e3
commit
973db569fe
1 changed files with 2 additions and 0 deletions
|
|
@ -92,7 +92,9 @@ async def gpt4_chatbot(_, ctx: Message, strings):
|
|||
]
|
||||
}
|
||||
response = await fetch.post("https://duckduckgo.com/duckchat/v1/chat", headers=headers, json=data)
|
||||
self.log.info(response.text)
|
||||
messages = []
|
||||
self.log.info(messages)
|
||||
for line in response.text.splitlines():
|
||||
if line.startswith('data:'):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue