Refa: add provider info while adding model. (#9273)

### What problem does this PR solve?
#9248

### Type of change

- [x] Refactoring
This commit is contained in:
Kevin Hu
2025-08-07 09:40:42 +08:00
committed by GitHub
parent fb0426419e
commit 9ca86d801e
3 changed files with 33 additions and 33 deletions

View File

@ -231,7 +231,7 @@ async def get_storage_binary(bucket, name):
return await trio.to_thread.run_sync(lambda: STORAGE_IMPL.get(bucket, name))
@timeout(60*40, 1)
@timeout(60*80, 1)
async def build_chunks(task, progress_callback):
if task["size"] > DOC_MAXIMUM_SIZE:
set_progress(task["id"], prog=-1, msg="File size exceeds( <= %dMb )" %