llama-stack-mirror/src/llama_stack
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
..
cli feat: remove usage of build yaml (#4192) 2025-12-10 10:12:12 +01:00
core feat: convert Benchmarks API to use FastAPI router (#4309) 2025-12-10 15:04:27 +01:00
distributions feat: remove usage of build yaml (#4192) 2025-12-10 10:12:12 +01:00
models refactor: remove dead inference API code and clean up imports (#4093) 2025-11-10 15:29:24 -08:00
providers feat: remove usage of build yaml (#4192) 2025-12-10 10:12:12 +01:00
telemetry feat!: Architect Llama Stack Telemetry Around Automatic Open Telemetry Instrumentation (#4127) 2025-12-01 10:33:18 -08:00
testing fix: MCP authorization parameter implementation (#4052) 2025-11-14 08:54:42 -08:00
__init__.py chore: Stack server no longer depends on llama-stack-client (#4094) 2025-11-07 09:54:09 -08:00
env.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
log.py feat: remove usage of build yaml (#4192) 2025-12-10 10:12:12 +01:00