-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathsettings.example.json
More file actions
74 lines (74 loc) · 2.33 KB
/
Copy pathsettings.example.json
File metadata and controls
74 lines (74 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"_comment": "Copy this file to .siclaw/config/settings.json and fill in your API key. Or run: npx tsx src/cli-main.ts --setup",
"providers": {
"default": {
"_comment": "Option 1: OpenAI",
"baseUrl": "https://api.openai.com/v1",
"apiKey": "sk-YOUR-OPENAI-KEY",
"api": "openai-completions",
"authHeader": true,
"models": [
{
"id": "gpt-4o",
"name": "GPT-4o",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 128000,
"maxTokens": 16384,
"compat": {
"supportsDeveloperRole": true,
"supportsUsageInStreaming": true,
"maxTokensField": "max_tokens"
}
}
]
},
"_anthropic_example": {
"_comment": "Option 2: Anthropic — rename this key to 'default' to use",
"baseUrl": "https://api.anthropic.com/v1",
"apiKey": "sk-ant-YOUR-ANTHROPIC-KEY",
"api": "anthropic",
"authHeader": true,
"models": [
{
"id": "claude-sonnet-4-20250514",
"name": "Claude Sonnet 4",
"reasoning": true,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 200000,
"maxTokens": 16000,
"compat": {
"supportsDeveloperRole": false,
"supportsUsageInStreaming": true,
"maxTokensField": "max_tokens"
}
}
]
},
"_compatible_example": {
"_comment": "Option 3: OpenAI-compatible API (Qwen, DeepSeek, Ollama, vLLM, etc.) — rename to 'default' to use",
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"apiKey": "sk-YOUR-KEY",
"api": "openai-completions",
"authHeader": true,
"models": [
{
"id": "qwen-plus",
"name": "Qwen Plus",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 131072,
"maxTokens": 8192,
"compat": {
"supportsDeveloperRole": true,
"supportsUsageInStreaming": true,
"maxTokensField": "max_tokens"
}
}
]
}
}
}