The run detail route built DiffusionTrainingRunDetail(**rec) unguarded, so a valid-JSON-but-wrong-shape record (hand-edited or an older schema) would 500 instead of reading as absent. Catch ValidationError and 404, matching how the list route skips malformed records. |
||
|---|---|---|
| .. | ||
| data_recipe | ||
| .gitkeep | ||
| __init__.py | ||
| auth.py | ||
| chat_history.py | ||
| datasets.py | ||
| export.py | ||
| inference.py | ||
| llama.py | ||
| mcp_servers.py | ||
| models.py | ||
| preview.py | ||
| prompts.py | ||
| providers.py | ||
| rag.py | ||
| settings.py | ||
| training.py | ||
| training_history.py | ||
| training_vram.py | ||