一些agent请求错误直接抛出异常,增大了块大小

This commit is contained in:
xunbu
2025-06-04 10:38:28 +08:00
parent 191b9d8343
commit bb724e8c29
2 changed files with 6 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ if DOCLING_FLAG:
class FileTranslater:
def __init__(self, file_path: Path | str | None = None, chunksize: int = 2000,
def __init__(self, file_path: Path | str | None = None, chunksize: int = 3000,
base_url="", key=None, model_id="", temperature=0.7,
max_concurrent=30, timeout=2000,
convert_engin: Literal["docling", "mineru"] = "mineru",