返回提交历史
Modified
g4f/Provider/Aura.py
+2
-1
XFEstudio/gpt4free
Fix streaming in Aura
74a21cdb
代码差异
1 个文件
+2
-1
@@ -52,4 +52,5 @@ class Aura(AsyncGeneratorProvider):
52
52
"temperature": 0.5
53
53
}
54
54
async with session.post(f"{cls.url}/api/chat", json=data, proxy=proxy) as response:
55
return response.content.iter_any()
55
async for chunk in response.content.iter_any():
56
yield chunk.decode()