You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wires OpenRouter alongside GitHub Copilot in /provider_model. Chat and
model-list calls dispatch by provider; Copilot's 24-min token refresh is
gated so OpenRouter sessions don't trigger it. API key comes from
OPENROUTER_API_KEY env var if set, otherwise prompted once and saved to
config.json. /model skips the Copilot per-model test-ping loop for
OpenRouter since each call is billed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ A minimal [openclaw](https://github.com/lzwjava/openclaw) implementation, built
14
14
15
15
## Features
16
16
17
-
-**Multi-turn conversations** with GitHub Copilot in your terminal.
17
+
-**Multi-turn conversations** with GitHub Copilot or OpenRouter in your terminal.
18
+
-**Multiple Model Providers**: GitHub Copilot (OAuth) and OpenRouter (API key).
18
19
-**Native Tool Calling**: The model can autonomously invoke web search, execute shell commands, and edit files.
19
20
-**Multiple Search Providers**: DuckDuckGo (default), Startpage, Bing, and Tavily.
20
21
-**GitHub OAuth device flow** authentication.
@@ -41,11 +42,12 @@ pip install -e .
41
42
iclaw
42
43
```
43
44
44
-
2.**Authenticate with GitHub** (on first run):
45
+
2.**Authenticate** (on first run):
45
46
```
46
47
/provider_model
47
48
```
48
-
Select `copilot`, then follow the GitHub device authorization flow. Your token is saved to `~/.config/iclaw/config.json`.
49
+
-**Copilot**: select option 1, follow the GitHub device authorization flow. Your token is saved to `~/.config/iclaw/config.json`.
50
+
-**OpenRouter**: select option 2. iclaw reads `OPENROUTER_API_KEY` from the environment, or prompts for a key and saves it to `~/.config/iclaw/config.json`.
49
51
50
52
### CLI Commands
51
53
-`/provider_model`: Select and authenticate with the model provider.
0 commit comments