llama-stack-mirror/llama_stack
IAN MILLER 0950168f26
refactor: replace hardcoded status codes by httpx.codes (#3131)
# What does this PR do?
<!-- Provide a short summary of what this PR does and why. Link to
relevant issues if applicable. -->
The purpose of this PR is to eliminate hardcoded status codes in
server's responses and replace it by `httpx.codes` functionality for
better consistency across the whole project and improvement in code
readability.

<!-- If resolving an issue, uncomment and update the line below -->
<!-- Closes #[issue-number] -->

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->
Run `./scripts/unit-tests.sh`
2025-08-13 08:43:41 -07:00
..
apis feat(responses): type file results properly (#3117) 2025-08-12 10:39:09 -07:00
cli chore: rename templates to distributions (#3035) 2025-08-04 11:34:17 -07:00
core refactor: replace hardcoded status codes by httpx.codes (#3131) 2025-08-13 08:43:41 -07:00
distributions fix: Dell distribution missing kvstore (#3113) 2025-08-13 06:18:25 -07:00
models chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
providers fix: Fix list_sessions() (#3114) 2025-08-13 07:46:26 -07:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
testing fix(recording): endpoint resolution (#3013) 2025-08-01 16:23:54 -07:00
ui chore: Updating UI Sidebar (#3081) 2025-08-11 07:39:52 -07:00
__init__.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
schema_utils.py feat(auth): API access control (#2822) 2025-07-24 15:30:48 -07:00