diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-19 11:03:50 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-19 11:03:50 +0100 |
commit | c3103164ced65c3952f3c9a0b4490eae275e4ddc (patch) | |
tree | 1dd2ea30923cb356c1e57d1a3f7816cc93060c90 /g4f/Provider/Copilot.py | |
parent | Fix loading models in Airforce provider (diff) | |
download | gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.tar gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.tar.gz gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.tar.bz2 gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.tar.lz gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.tar.xz gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.tar.zst gpt4free-c3103164ced65c3952f3c9a0b4490eae275e4ddc.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/Copilot.py | 2 |
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): |