Skip to content

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

Python

refactor: remove MODEL_PICKER flag — claude-pick always picks

Rishi Khare142dd587c83b
diff --git a/.env.example b/.env.example
index 2e4d9c96..b3b93941 100644
--- a/.env.example
+++ b/.env.example
@@ -61,10 +61,4 @@ FAST_PREFIX_DETECTION=true
ENABLE_NETWORK_PROBE_MOCK=true
ENABLE_TITLE_GENERATION_SKIP=true
ENABLE_SUGGESTION_MODE_SKIP=true
-ENABLE_FILEPATH_EXTRACTION_MOCK=true
-
-
-# Model Picker: set to true to show an interactive fzf model selector.
-# Run `claude-pick` to launch Claude. With MODEL_PICKER=false it launches
-# directly using the MODEL configured above.
-MODEL_PICKER=false
\ No newline at end of file
+ENABLE_FILEPATH_EXTRACTION_MOCK=true
\ No newline at end of file
diff --git a/README.md b/README.md
index 25c0c232..a962341e 100644
--- a/README.md
+++ b/README.md
@@ -445,19 +445,13 @@ class MyPlatform(MessagingPlatform):
brew install fzf # macOS/Linux
```
-**2. Enable the picker in `.env`:**
-
-```env
-MODEL_PICKER=true
-```
-
-**3. Add the alias to `~/.zshrc` or `~/.bashrc`:**
+**2. Add the alias to `~/.zshrc` or `~/.bashrc`:**
```bash
alias claude-pick="/path/to/free-claude-code/claude-pick"
```
-Then reload your shell (`source ~/.zshrc`) and run `claude-pick` to pick a model and launch Claude. With `MODEL_PICKER=false` (the default), `claude-pick` skips the picker and launches Claude with the model set in `MODEL`.
+Then reload your shell (`source ~/.zshrc`) and run `claude-pick` to pick a model and launch Claude.
**Skip the picker with a fixed model** (no alias or picker needed):
diff --git a/claude-pick b/claude-pick
index 37bd8c81..33d3b45a 100755
--- a/claude-pick
+++ b/claude-pick
@@ -1,10 +1,6 @@
#!/usr/bin/env bash
# claude-pick — Interactive model picker for free-claude-code
# Usage: claude-pick [extra claude args...]
-#
-# Set MODEL_PICKER=true in .env (or export it) to enable the interactive picker.
-# With MODEL_PICKER=false (default) this script launches Claude against the local
-# proxy with the default model configured in .env.
set -euo pipefail
@@ -37,16 +33,6 @@ read_env_value() {
echo "$raw"
}
-# ── MODEL_PICKER check ────────────────────────────────────────────────────────
-# Env var takes precedence over .env file value.
-_mp_raw="${MODEL_PICKER:-$(read_env_value MODEL_PICKER)}"
-_mp_raw="$(printf '%s' "${_mp_raw:-false}" | tr '[:upper:]' '[:lower:]')"
-
-if [[ ! "$_mp_raw" =~ ^(1|true|yes|on)$ ]]; then
- ANTHROPIC_AUTH_TOKEN="freecc" ANTHROPIC_BASE_URL="$BASE_URL" exec claude "$@"
-fi
-
-# ── Picker enabled — fzf required ────────────────────────────────────────────
if ! command -v fzf >/dev/null 2>&1; then
echo "Error: fzf is required for the model picker." >&2
echo "Install it from: https://github.com/junegunn/fzf" >&2