cffb4988860ba0ce4ef3b0c9d5dbfe1d50ccdf4e
Add OpenAI-compatible models listing endpoint. Currently returns mock model (mistral-nemo:latest). Models Router (src/models/router.py): - GET /v1/models endpoint - OpenAI-compatible response format - Lists available models Models Schemas (src/models/schemas.py): - Model object with id, created, owned_by - ModelsListResponse with data array - Full OpenAI API compatibility Models Service (src/models/service.py): - list_models() function - Mock model listing (ready for Ollama integration) - Returns mistral-nemo:latest as default Following Best Practices: - Business logic in service layer - Router only handles HTTP concerns - Type hints throughout - Async/await pattern Model: mistral-nemo:latest Status: Mock implementation (ready for Ollama integration) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
1.3 MiB
Releases
5
Release v2.4.3
Latest
Languages
Python
95.3%
HTML
3.7%
Shell
0.6%
Makefile
0.4%