Skip to content

Add clishe setup: find or set up a local AI model - #15

Merged
Sym-jay merged 2 commits into
mainfrom
setup-wizard
Oct 5, 2026
Merged

Sym-jay merged 2 commits into
mainfrom
setup-wizard

Conversation

@Sym-jay

@Sym-jay Sym-jay commented Oct 5, 2026

Copy link
Copy Markdown
Owner

clishe setup (also setup inside a session) gets someone from zero to a working local model without reading docs:

$ clishe setup
Clishe: Checking this computer for a local AI model...

  Memory: 16 GB
  A model that fits: qwen2.5-coder:7b (7B, good with shell commands, about 5 GB)

  ✓ Ollama is running. Models downloaded: llama3.2:latest
    Get the suggested model with: ollama pull qwen2.5-coder:7b

  ✓ Local only: nothing you type is sent to the internet.

Download qwen2.5-coder:7b now? This runs: ollama pull qwen2.5-coder:7b [y/N]:
Use qwen2.5-coder:7b for Clishe? [Y/n]:
  • Memory → model: under 8 GB gets llama3.2:1b, 8–16 GB gets llama3.2 (3B), 16 GB and up gets qwen2.5-coder:7b.
  • Ollama: says whether it's not installed (with the download link), installed but not running (ollama serve), or running (lists its models).
  • Other servers: detects llama.cpp, LM Studio, Jan and vLLM servers on their usual ports.
  • Asks before doing anything: downloading is [y/N]; saving the model to the config is [Y/n]. The config keeps its other settings and 0600 permissions.
  • Warns if the cloud provider is on, since that's the only way anything could leave the machine.

Tests

  • 15 new pytest tests: memory thresholds, Ollama's :latest tag, report wording for each state, config save. 466 pass locally.
  • Manual run against a fake Ollama on port 11434: the report, the "use it?" question, then the config was saved and a second run said "All set".

🤖 Generated with Claude Code

harryfrzz and others added 2 commits October 5, 2026 11:24
- Checks RAM and suggests llama3.2:1b, llama3.2 or qwen2.5-coder:7b.
- Finds Ollama (installed, running, models downloaded) and other
  OpenAI-style local servers on the usual ports.
- Offers to run ollama pull and saves the model in the config (0600,
  other settings kept).
- Says whether the cloud provider is on, i.e. whether anything could
  leave the machine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Sym-jay
Sym-jay merged commit 8d7b7a9 into main Oct 5, 2026
3 checks passed
@Sym-jay
Sym-jay deleted the setup-wizard branch October 5, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants