Merge pull request #1272 from AndPim4912/main

Fix tupo in GptGo
pull/1274/head^2
Tekky 8 months ago committed by GitHub
commit d707d2e352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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})"
return f"g4f.provider.{cls.__name__} supports: ({param})"

Loading…
Cancel
Save