Skip to content

Commit 3c86c6e

Browse files
committed
docs
1 parent e60b5e4 commit 3c86c6e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/configuration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ There are 3 possible ways to configure rules following this order of priority:
164164

165165
```typescript
166166
interface Config {
167-
providers: {[key: string]: {
167+
providers?: {[key: string]: {
168168
api?: 'openai-responses' | 'openai-chat' | 'anthropic';
169169
url?: string;
170170
urlEnv?: string;
@@ -176,22 +176,22 @@ There are 3 possible ways to configure rules following this order of priority:
176176
}};
177177
}};
178178
defaultModel?: string;
179-
rules: [{path: string;}];
180-
commands: [{path: string;}];
179+
rules?: [{path: string;}];
180+
commands?: [{path: string;}];
181181
systemPromptTemplateFile?: string;
182182
nativeTools?: {
183183
filesystem: {enabled: boolean};
184184
shell: {enabled: boolean,
185185
excludeCommands: string[]};
186186
editor: {enabled: boolean,};
187187
};
188-
disabledTools: string[],
188+
disabledTools?: string[],
189189
toolCall?: {
190190
manualApproval?: boolean | string[], // manual approve all tools or the specified tools
191191
};
192-
mcpTimeoutSeconds: number;
193-
lspTimeoutSeconds: number;
194-
mcpServers: {[key: string]: {
192+
mcpTimeoutSeconds?: number;
193+
lspTimeoutSeconds?: number;
194+
mcpServers?: {[key: string]: {
195195
command: string;
196196
args?: string[];
197197
disabled?: boolean;
@@ -200,7 +200,7 @@ There are 3 possible ways to configure rules following this order of priority:
200200
defaultBehavior?: string;
201201
welcomeMessage?: string;
202202
};
203-
agentFileRelativePath: string;
203+
agentFileRelativePath?: string;
204204
index?: {
205205
ignoreFiles: [{
206206
type: string;

0 commit comments

Comments
 (0)