refactor: unify host threadpool boundary

This commit is contained in:
jxxghp
2026-08-24 03:28:10 +08:00
parent 22848eeda2
commit 371383f0a8
15 changed files with 59 additions and 21 deletions
+1 -2
View File
@@ -10,8 +10,7 @@ from typing import AsyncIterator, Any, Dict, Iterable, Tuple
from typing import List, Optional
from unicodedata import normalize
from fastapi.concurrency import run_in_threadpool
from app.runtime.execution import run_in_threadpool
from app.chain import ChainBase
from app.chain.media import MediaChain
from app.runtime.config import global_vars