Commit e70923c
committed
fix(models): report local models as available in CLI list output (#92224)
The 'openclaw models list' command showed available: false for
local Ollama models that were actually running and working. This
happened because the availability check relied on provider auth
(API keys) which local providers like Ollama don't use.
Skip the auth-based availability fallback for models with a local
baseUrl (localhost, 127.0.0.1, etc.) and report them as available
whenever they are configured.
Closes #922241 parent d481994 commit e70923c
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments