d8552a9fb829b9bffcdd41560c5e4cb01dbe7657
The standalone image analysis path (analyzeSingleMediaImage → llmVision → llmChat) previously had no request-level timeout of its own — it silently inherited the shared OpenAI client default (60s), and AI_LLM_MEDIA_ANALYSIS_ TIMEOUT_MS only governed the text+media *batch*, not a single vision call. - Add AI_LLM_VISION_ANALYSIS_TIMEOUT_MS (default 60000) to config. - llmChat now accepts an optional per-request `timeout` in LlmCallOpts, forwarded to the OpenAI request options (falls back to the 60s client default when omitted). - llmVision passes config.AI_LLM_VISION_ANALYSIS_TIMEOUT_MS, so a single image/sticker/emoji analysis gets a guaranteed 1-minute budget and is independently tunable from the text path. Verified: tsc + biome green, 129 gateway tests pass. Co-Authored-By: Claude Opus 5 (Nous Research)
Description
Bete Discord moderation watcher
27 MiB
Languages
TypeScript
96.8%
Nix
1%
Shell
0.9%
CSS
0.5%
PLpgSQL
0.5%
Other
0.3%