llama-stack-mirror/src
slekkala1 f596f850bf
fix: Propagate the runtime error message to user (#4150)
# What does this PR do?
For Runtime Exception the error is not propagated to the user and can be
opaque.
Before fix:
`ERROR - Error processing message: Error code: 500 - {'detail':
'Internal server error: An unexpected error occurred.'}
`
After fix:
`[ERROR] Error code: 404 - {'detail': "Model
'claude-sonnet-4-5-20250929' not found. Use 'client.models.list()' to
list available Models."}
`

(Ran into this few times, while working with OCI + LLAMAStack and Sabre:
Agentic framework integrations with LLAMAStack)

## Test Plan
CI
2025-11-14 13:14:49 -08:00
..
llama_stack fix: Propagate the runtime error message to user (#4150) 2025-11-14 13:14:49 -08:00
llama_stack_api fix: MCP authorization parameter implementation (#4052) 2025-11-14 08:54:42 -08:00
llama_stack_ui feat: allow returning embeddings and metadata from /vector_stores/ methods; disallow changing Provider ID (#4046) 2025-11-12 09:59:48 -08:00