mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-19 03:25:32 +00:00
Fix typo in api.py
occured -> occurred
This commit is contained in:
parent
a485cfb180
commit
b9cafe8c23
@ -368,7 +368,7 @@ class Client:
|
|||||||
human_message_id = human_message["node"]["messageId"]
|
human_message_id = human_message["node"]["messageId"]
|
||||||
except TypeError:
|
except TypeError:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
f"An unknown error occured. Raw response data: {message_data}")
|
f"An unknown error occurred. Raw response data: {message_data}")
|
||||||
|
|
||||||
# indicate that the current message is waiting for a response
|
# indicate that the current message is waiting for a response
|
||||||
self.active_messages[human_message_id] = None
|
self.active_messages[human_message_id] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user