返回提交历史
Modified
g4f/Provider/GptGo.py
+2
-2
XFEstudio/gpt4free
Syntax error Fixed : GptGo.py
4a6bcef3
代码差异
1 个文件
+2
-2
@@ -63,7 +63,7 @@ class GptGo(AsyncGeneratorProvider):
63
63
if line["choices"][0]["finish_reason"] == "stop":
64
64
break
65
65
66
content = line["choices"][0]["delta"].get("content"):
66
content = line["choices"][0]["delta"].get("content")
67
67
if content:
68
68
yield content
69
69
@@ -79,4 +79,4 @@ class GptGo(AsyncGeneratorProvider):
79
79
("temperature", "float"),
80
80
]
81
81
param = ", ".join([": ".join(p) for p in params])
82
return f"g4f.provider.{cls.__name__} supports: ({param})"
82
return f"g4f.provider.{cls.__name__} supports: ({param})"