mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-15 21:00:43 +08:00
Add image upload to Copilot provider
This commit is contained in:
@@ -136,7 +136,7 @@ class Copilot(AbstractProvider):
|
||||
elif msg.get("event") in ["done", "partCompleted"]:
|
||||
break
|
||||
if not is_started:
|
||||
raise RuntimeError("Last message: {msg}")
|
||||
raise RuntimeError(f"Last message: {msg}")
|
||||
|
||||
@classmethod
|
||||
async def get_access_token_and_cookies(cls, proxy: str = None):
|
||||
|
Reference in New Issue
Block a user