Expand description
HTTP proxy layer — axum router, route handlers, and error mapping.
Exposes an OpenAI-compatible /v1/chat/completions endpoint, a /v1/models
listing, and an Amp CLI compatibility layer under /amp/*.
Structs§
- ApiError
- Wrapper around
ByokErrorthat implementsIntoResponse. - AppState
- Shared application state passed to all route handlers.
Functions§
- make_
router - Build the full axum router.