mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 20:29:34 +08:00
Image and video generation hardcode request_timeout (120 s / 60 s) with no catalog override, so slow-but-valid self-hosted backends (e.g. local unified-memory image servers) reliably fail with an opaque 'request error'. Follow the existing voice convention: a per-model 'request_timeout' field in the model catalog, resolved in provider_runtime and bounded centrally. - generation_http: resolve_generation_request_timeout() + shared defaults/bounds - provider_runtime: wire the override into imagegen/videogen resolution - openai_compat + async_task adapters: timeouts now report the limit and point at the setting instead of a generic request error - settings UI: 'Request timeout (seconds)' field for imagegen/videogen models - tests: override/default/invalid resolution + timeout message