From 2aca3fa30fac2aa5790f6b598dad7e2e59173012 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期五, 18 十月 2024 17:07:30 +0800
Subject: [PATCH] 修改python Excel合并脚本。由xlwings改为openpyxl

---
 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