Commit graph

2 commits

Author SHA1 Message Date
Rohan Awhad
a7c6328d0c chore: moved from general exceptions to apis/common/exceptions.py 2025-06-27 13:59:05 -04:00
Rohan Awhad
7ccf83fb74 chore: standardize unsupported model error #2517
- llama_stack/exceptions.py: Add UnsupportedModelError class
- remote inference ollama.py and utils/inference/model_registry.py:
Changed ValueError in favor of UnsupportedModelError
- utils/inference/litellm_openai_mixin.py: remote register_model func.
Now uses parent class ModelRegistry's func

Closes #2517
2025-06-25 11:10:58 -04:00