mirror of https://github.com/xtekky/gpt4free.git
Fix tupo in GptGo
This commit is contained in:
parent
d4c8f3e8d5
commit
cd4207a146
|
@ -63,7 +63,7 @@ class GptGo(AsyncGeneratorProvider):
|
||||||
if line["choices"][0]["finish_reason"] == "stop":
|
if line["choices"][0]["finish_reason"] == "stop":
|
||||||
break
|
break
|
||||||
|
|
||||||
content = line["choices"][0]["delta"].get("content"):
|
content = line["choices"][0]["delta"].get("content")
|
||||||
if content:
|
if content:
|
||||||
yield content
|
yield content
|
||||||
|
|
||||||
|
@ -79,4 +79,4 @@ class GptGo(AsyncGeneratorProvider):
|
||||||
("temperature", "float"),
|
("temperature", "float"),
|
||||||
]
|
]
|
||||||
param = ", ".join([": ".join(p) for p in params])
|
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…
Reference in New Issue