chore: introduce add local model to be a choice
Browse files
README.md
CHANGED
|
@@ -16,6 +16,30 @@ curl -fsSL https://raw.githubusercontent.com/paoloanzn/free-code/main/install.sh
|
|
| 16 |
|
| 17 |
---
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
## What is this
|
| 20 |
|
| 21 |
This is a clean, buildable fork of Anthropic's [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI -- the terminal-native AI coding agent. The upstream source became publicly available on March 31, 2026 through a source map exposure in the npm distribution.
|
|
|
|
| 16 |
|
| 17 |
---
|
| 18 |
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
## Local model
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
nvim ~/.bashrc
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
export ANTHROPIC_BASE_URL="http://localhost:11434/v1"
|
| 28 |
+
export ANTHROPIC_API_KEY="ollama"
|
| 29 |
+
export ANTHROPIC_MODEL="qwen2.5-coder:7b"
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
export ANTHROPIC_BETALOG_MAX_TOKENS=98304
|
| 33 |
+
|
| 34 |
+
claude() {
|
| 35 |
+
ANTHROPIC_BASE_URL="http://127.0.0.1:8001" \
|
| 36 |
+
ANTHROPIC_API_KEY="dummy" \
|
| 37 |
+
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 \
|
| 38 |
+
cli-dev --bare --model "Qwen3.5-9B.Q4_K_M.gguf"
|
| 39 |
+
}
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
|
| 43 |
## What is this
|
| 44 |
|
| 45 |
This is a clean, buildable fork of Anthropic's [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI -- the terminal-native AI coding agent. The upstream source became publicly available on March 31, 2026 through a source map exposure in the npm distribution.
|