Description
list command requires default model to be available in the model provider
Steps to reproduce
- Install ollama, do not pull any model (or only pull one model other than the default
gemma3:12b)
- Setup codefox to point to ollama
- Run
codefox list
Expected behavior
Should show an empty list
Actual behavior
Failed to connect to mode: model 'gemma3:12b' not found (status code: 404)
Environment
- OS: Ubuntu 22.04
- Python version: 3.11
- CodeFox version: 0.4.6
- Provider: ollama
- Model: N/A
Config (optional)
If relevant, paste the non-sensitive parts of .codefox.yml (e.g. provider, model name, review settings). Do not paste .codefoxenv or any API keys.
provider: ollama
model:
name: llama3.1:8b
temperature: 0.2
max_tokens: null
base_url: http://ollama:11434
review:
severity: medium
max_issues: null
suggest_fixes: true
diff_only: true
baseline:
enable: true
ruler:
security: true
performance: true
style: true
prompt:
system: null
extra: null
strict_facts: true
Logs / output (optional)
> codefox list
Failed to connect to mode: model 'gemma3:12b' not found (status code: 404)
Additional context
Any other details that might help (repo type, size of diff, first time vs recurring, etc.).
Description
listcommand requires default model to be available in the model providerSteps to reproduce
gemma3:12b)codefox listExpected behavior
Should show an empty list
Actual behavior
Environment
Config (optional)
If relevant, paste the non-sensitive parts of
.codefox.yml(e.g. provider, model name, review settings). Do not paste.codefoxenvor any API keys.Logs / output (optional)
Additional context
Any other details that might help (repo type, size of diff, first time vs recurring, etc.).