返回提交历史
Modified
g4f/Provider/AItianhu.py
+4
-3
XFEstudio/gpt4free
Update AItianhu.py
a2b803a5
代码差异
1 个文件
+4
-3
@@ -72,7 +72,8 @@ class AItianhu(AsyncGeneratorProvider):
72
72
if "detail" not in line:
73
73
raise RuntimeError(f"Response: {line}")
74
74
75
if content := line["detail"]["choices"][0]["delta"].get(
75
content = line["detail"]["choices"][0]["delta"].get(
76
76
"content"
77
):
78
yield content
77
)
78
if content:
79
yield content