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
Owner

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.

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.
darthrubik added 1 commit 2026-08-12 19:21:35 -05:00
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.
darthrubik merged commit c6696490bd into master 2026-08-12 19:21:44 -05:00
darthrubik deleted branch bugfix/fix-list-models 2026-08-12 19:21:44 -05:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: darthrubik/drharness#58