mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-19 03:56:42 +08:00
Fix: aspose-slide issue. (#11935)
### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -688,12 +688,7 @@ async def is_strong_enough(chat_model, embedding_model):
|
|||||||
|
|
||||||
if chat_model:
|
if chat_model:
|
||||||
res = await asyncio.wait_for(
|
res = await asyncio.wait_for(
|
||||||
asyncio.to_thread(
|
chat_model.async_chat("Nothing special.", [{"role": "user", "content": "Are you strong enough!?"}]),
|
||||||
chat_model.chat,
|
|
||||||
"Nothing special.",
|
|
||||||
[{"role": "user", "content": "Are you strong enough!?"}],
|
|
||||||
{}
|
|
||||||
),
|
|
||||||
timeout=30
|
timeout=30
|
||||||
)
|
)
|
||||||
if "**ERROR**" in res:
|
if "**ERROR**" in res:
|
||||||
|
|||||||
@ -14,7 +14,7 @@ dependencies = [
|
|||||||
"azure-storage-file-datalake==12.16.0",
|
"azure-storage-file-datalake==12.16.0",
|
||||||
"anthropic==0.34.1",
|
"anthropic==0.34.1",
|
||||||
"arxiv==2.1.3",
|
"arxiv==2.1.3",
|
||||||
"aspose-slides>=25.10.0,<26.0.0; platform_machine == 'x86_64' or (sys_platform == 'darwin' and platform_machine == 'arm64')",
|
"aspose-slides==24.7.0; platform_machine == 'x86_64' or (sys_platform == 'darwin' and platform_machine == 'arm64')",
|
||||||
"atlassian-python-api==4.0.7",
|
"atlassian-python-api==4.0.7",
|
||||||
"beartype>=0.20.0,<1.0.0",
|
"beartype>=0.20.0,<1.0.0",
|
||||||
"bio==1.7.1",
|
"bio==1.7.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user