summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Copilot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Copilot.py b/g4f/Provider/Copilot.py
index cb803296..6e64c714 100644
--- a/g4f/Provider/Copilot.py
+++ b/g4f/Provider/Copilot.py
@@ -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):