From 4e8cecd4ca733ba9356ba0e8df4b8da31eee286c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 17 十月 2024 15:51:55 +0800
Subject: [PATCH] fix

---
 app/service/ragflow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/service/ragflow.py b/app/service/ragflow.py
index d41a4da..4021866 100644
--- a/app/service/ragflow.py
+++ b/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

--
Gitblit v1.8.0