try_api
Description:
public async bool try_api ()
Retry listing models with /api appended to url.
Used when OpenAI /v1/models works but native Ollama endpoints need the /api prefix. No-op when
url already ends with /api. Restores the previous URL if the
retry fails.
Returns:
|
true when /api listed models
|