zhangxiao
2024-10-18 2aca3fa30fac2aa5790f6b598dad7e2e59173012
app/service/ragflow.py
@@ -59,7 +59,7 @@
        print(data)
        target_url = f"{self.base_url}/v1/conversation/completion"
        async with httpx.AsyncClient(timeout=10.0) as client:
        async with httpx.AsyncClient(timeout=300.0) as client:
            headers = {
                'Content-Type': 'application/json',
                'Authorization': token