docs(readme): reorder steps and add screenshot (#30)
parent
9e84b71f59
commit
0c9ec1a079
48
README.md
48
README.md
|
|
@ -48,30 +48,7 @@ brew install ngrok
|
||||||
ngrok config add-authtoken <your-ngrok-token>
|
ngrok config add-authtoken <your-ngrok-token>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: Add Cursor Custom Model
|
### Step 2: Install and Start the Proxy Server
|
||||||
|
|
||||||
In Cursor, add the DeepSeek custom model and point it at this proxy:
|
|
||||||
|
|
||||||
- Model: `deepseek-v4-pro`
|
|
||||||
- API Key: your DeepSeek API key
|
|
||||||
- Base URL: your ngrok HTTPS URL with the `/v1` API version path
|
|
||||||
|
|
||||||
The proxy respects the DeepSeek model name Cursor sends, such as `deepseek-v4-pro` or `deepseek-v4-flash`. The `model` field in `config.yaml` is used as a fallback only when a request does not include a model.
|
|
||||||
|
|
||||||
For example, if ngrok dashboard shows `https://example.ngrok-free.dev`, use:
|
|
||||||
|
|
||||||
```text
|
|
||||||
https://example.ngrok-free.dev/v1
|
|
||||||
```
|
|
||||||
|
|
||||||
<img src="assets/cursor_config.png" width="600" alt="Cursor settings for DeepSeek through the proxy">
|
|
||||||
|
|
||||||
Note: you can toggle the custom API on and off with:
|
|
||||||
|
|
||||||
- macOS: `Cmd+Shift+0`
|
|
||||||
- Windows/Linux: `Ctrl+Shift+0`
|
|
||||||
|
|
||||||
### Step 3: Install and Start the Proxy Server
|
|
||||||
|
|
||||||
**Run with UV**
|
**Run with UV**
|
||||||
|
|
||||||
|
|
@ -126,6 +103,29 @@ deepseek-cursor-proxy --no-ngrok
|
||||||
deepseek-cursor-proxy --port 9000
|
deepseek-cursor-proxy --port 9000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Step 3: Add Cursor Custom Model
|
||||||
|
|
||||||
|
In Cursor, add the DeepSeek custom model and point it at this proxy:
|
||||||
|
|
||||||
|
- Model: `deepseek-v4-pro`
|
||||||
|
- API Key: your DeepSeek API key
|
||||||
|
- Base URL: your ngrok HTTPS URL with the `/v1` API version path
|
||||||
|
|
||||||
|
The proxy respects the DeepSeek model name Cursor sends, such as `deepseek-v4-pro` or `deepseek-v4-flash`. The `model` field in `config.yaml` is used as a fallback only when a request does not include a model.
|
||||||
|
|
||||||
|
For example, if ngrok dashboard shows `https://example.ngrok-free.dev`, use:
|
||||||
|
|
||||||
|
```text
|
||||||
|
https://example.ngrok-free.dev/v1
|
||||||
|
```
|
||||||
|
|
||||||
|
<img src="assets/cursor_config.png" width="600" alt="Cursor settings for DeepSeek through the proxy">
|
||||||
|
|
||||||
|
Note: you can toggle the custom API on and off with:
|
||||||
|
|
||||||
|
- macOS: `Cmd+Shift+0`
|
||||||
|
- Windows/Linux: `Ctrl+Shift+0`
|
||||||
|
|
||||||
### Step 4: Chat with DeepSeek in Cursor
|
### Step 4: Chat with DeepSeek in Cursor
|
||||||
|
|
||||||
Select `deepseek-v4-pro` in Cursor and use chat or agent mode as usual.
|
Select `deepseek-v4-pro` in Cursor and use chat or agent mode as usual.
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 40 KiB |
Loading…
Reference in New Issue