When the coordinator returns 429 (all nodes at max_concurrent limit), the previous code fell back to LLMRouter which is also overloaded at high concurrency. This caused the request to hang for ~60s before nginx returned a 504. Now: detect 429/max_concurrent in the RuntimeError message and return "" immediately so the caller gets an empty RecipeResult (graceful degradation) rather than a timeout. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| assembly_recipes.py | ||
| browser_domains.py | ||
| element_classifier.py | ||
| grocery_links.py | ||
| llm_recipe.py | ||
| recipe_engine.py | ||
| staple_library.py | ||
| style_adapter.py | ||
| substitution_engine.py | ||
| tag_inferrer.py | ||