Skip to content

Commit

Permalink
Add image upload to Copilot provider
Browse files Browse the repository at this point in the history
  • Loading branch information
hlohaus committed Nov 19, 2024
1 parent 08085d3 commit c310316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g4f/Provider/Copilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def create_completion(
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):
Expand Down

0 comments on commit c310316

Please sign in to comment.