浏览代码

Merge pull request #15785 from bekzod/patch-1

BREAKING CHANGE: Update docling endpoint
Tim Jaeryang Baek 2 月之前
父节点
当前提交
dcade8cdf8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/open_webui/retrieval/loaders/main.py

+ 1 - 1
backend/open_webui/retrieval/loaders/main.py

@@ -181,7 +181,7 @@ class DoclingLoader:
                         if lang.strip()
                     ]
 
-            endpoint = f"{self.url}/v1alpha/convert/file"
+            endpoint = f"{self.url}/v1/convert/file"
             r = requests.post(endpoint, files=files, data=params)
 
         if r.ok: