llama-stack-mirror/tests/unit/distribution
Sébastien Han ff375f1abb
feat: convert Benchmarks API to use FastAPI router (#4309)
# What does this PR do?

Convert the Benchmarks API from @webmethod decorators to FastAPI router
pattern, matching the Batches API structure.

One notable change is the update of stack.py to handle request models in
register_resources().

Closes: #4308 

## Test Plan

CI and `curl http://localhost:8321/v1/inspect/routes | jq '.data[] |
select(.route | contains("benchmark"))'`

---------

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-12-10 15:04:27 +01:00
..
routers feat: convert Benchmarks API to use FastAPI router (#4309) 2025-12-10 15:04:27 +01:00
routing_tables chore!: BREAKING CHANGE removing VectorDB APIs (#3774) 2025-10-11 14:07:08 -07:00
test_api_recordings.py fix: rename llama_stack_api dir (#4155) 2025-11-13 15:04:36 -08:00
test_context.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
test_distribution.py feat: remove usage of build yaml (#4192) 2025-12-10 10:12:12 +01:00
test_library_client_initialization.py chore: refactor server.main (#3462) 2025-09-18 21:11:13 -07:00
test_stack_list.py feat: remove usage of build yaml (#4192) 2025-12-10 10:12:12 +01:00
test_stack_list_deps.py refactor(build): rework CLI commands and build process (1/2) (#2974) 2025-10-17 19:52:14 -07:00