summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-11-20 19:24:50 +0100
committerGitHub <noreply@github.com>2023-11-20 19:24:50 +0100
commitd707d2e35280cabef996e3dedc1763ce3796765d (patch)
treed6bdd6495f39d892d65b52052463eda3cec00fd1 /g4f/Provider
parent~ | (diff)
parentFix tupo in GptGo (diff)
downloadgpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.tar
gpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.tar.gz
gpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.tar.bz2
gpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.tar.lz
gpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.tar.xz
gpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.tar.zst
gpt4free-d707d2e35280cabef996e3dedc1763ce3796765d.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/GptGo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/GptGo.py b/g4f/Provider/GptGo.py
index ac3f7fe8..726c7a99 100644
--- a/g4f/Provider/GptGo.py
+++ b/g4f/Provider/GptGo.py
@@ -63,7 +63,7 @@ class GptGo(AsyncGeneratorProvider):
if line["choices"][0]["finish_reason"] == "stop":
break
- content = line["choices"][0]["delta"].get("content"):
+ content = line["choices"][0]["delta"].get("content")
if content:
yield content
@@ -79,4 +79,4 @@ class GptGo(AsyncGeneratorProvider):
("temperature", "float"),
]
param = ", ".join([": ".join(p) for p in params])
- return f"g4f.provider.{cls.__name__} supports: ({param})" \ No newline at end of file
+ return f"g4f.provider.{cls.__name__} supports: ({param})"