app/api/chat.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
app/service/basic.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
app/api/chat.py
@@ -227,7 +227,7 @@ data = json.loads(text) output = data.get("output", "") excel_name = data.get("excel_name", "") image_name = data.get("excel_name", "") image_name = data.get("image_name", "") excel_url = None image_url = None if excel_name: app/service/basic.py
@@ -65,7 +65,7 @@ if response.status_code == 200: try: async for answer in response.aiter_text(): print(f"response of ragflow chat: {answer}") print(f"response of excel_talk chat: {answer}") yield answer except GeneratorExit as e: print(e)