issue 215: Use OpenAI official API to list available models #58

Merged
darthrubik merged 1 commits from bugfix/fix-list-models into master 2026-08-12 19:21:44 -05:00

1 Commits

Author SHA1 Message Date
hal9000 afbf1c5484 issue 215: Use OpenAI official API to list available models
Changed list_models() to use the OpenAI-compatible /v1/models endpoint
instead of the Ollama-specific /api/tags endpoint. Updated ModelInfo and
ModelListResponse structs to match the OpenAI API response format.
2026-08-12 19:21:00 -05:00