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
This proxy can be used to power [Claude Code](https://docs.anthropic.com/en/claude-code), an experimental conversational AI assistant for developers from Anthropic.
155
155
156
+
There are two ways to configure Claude Code to use this proxy:
157
+
158
+
### Interactive Setup with `--claude-code` flag
159
+
156
160
To get started, run the `start` command with the `--claude-code` flag:
157
161
158
162
```sh
@@ -163,8 +167,27 @@ You will be prompted to select a primary model and a "small, fast" model for bac
163
167
164
168
Paste and run this command in a new terminal to launch Claude Code.
165
169
170
+
### Manual Configuration with `settings.json`
171
+
172
+
Alternatively, you can configure Claude Code by creating a `.claude/settings.json` file in your project's root directory. This file should contain the environment variables needed by Claude Code. This way you don't need to run the interactive setup every time.
173
+
174
+
Here is an example `.claude/settings.json` file:
175
+
176
+
```json
177
+
{
178
+
"env": {
179
+
"ANTHROPIC_BASE_URL": "http://localhost:4141",
180
+
"ANTHROPIC_AUTH_TOKEN": "dummy",
181
+
"ANTHROPIC_MODEL": "gpt-4.1",
182
+
"ANTHROPIC_SMALL_FAST_MODEL": "gpt-4.1"
183
+
}
184
+
}
185
+
```
186
+
166
187
You can find more options here: [Claude Code settings](https://docs.anthropic.com/en/docs/claude-code/settings#environment-variables)
167
188
189
+
You can also read more about IDE integration here: [Add Claude Code to your IDE](https://docs.anthropic.com/en/docs/claude-code/ide-integrations)
190
+
168
191
## Running from Source
169
192
170
193
The project can be run from source in several ways:
0 commit comments