LLM Registry API Layer
This crate provides the REST API layer for the LLM Registry using Axum. It includes request handlers, middleware, error handling, and response types.
Architecture
The API layer is organized into:
- Handlers: Request handlers for all API endpoints
- Routes: Route definitions and router configuration
- Middleware: Tower middleware for logging, CORS, compression, etc.
- Error Handling: Conversion of service errors to HTTP responses
- Responses: Standard response wrappers and types
Example
use ;
use ServiceRegistry;
use Arc;
# async