Skip to content

Commit 0466c47

Browse files
committed
Add api_endpoint config
1 parent 781701e commit 0466c47

File tree

1 file changed

+6
-0
lines changed
  • docs/reference/configuration

1 file changed

+6
-0
lines changed

docs/reference/configuration/ai.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@
55
```toml
66
[ai.openai]
77
api_key = "YOUR_API_KEY"
8+
# optional, default is the official OpenAI API endpoint
9+
api_endpoint = "YOUR_API_ENDPOINT"
810
model = "gpt-4"
911

1012
[ai.deepseek]
1113
api_key = "YOUR_API_KEY"
14+
# optional, default is the official DeepSeek API endpoint
15+
api_endpoint = "YOUR_API_ENDPOINT"
1216
model = "deepseek-chat"
1317

1418
[ai.anthropic]
1519
api_key = "YOUR_API_KEY"
20+
# optional, default is the official Anthropic API endpoint
21+
api_endpoint = "YOUR_API_ENDPOINT"
1622
model = "claude-3-5-sonnet-latest"
1723
```

0 commit comments

Comments
 (0)