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
{{ message }}
Repository navigation
Commit f17a22e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/en/configuration/config-files.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -474,11 +474,11 @@ Both values must be positive integers. A call's `max_chars` overrides the defaul
474
474
475
475
## `watch`
476
476
477
-
`watch` controls filesystem watchers that reload local.toml, AGENTS.md, skills, MCP config, and `config.toml` itself. It defaults to on. Set `enabled` to `false` to start with no watchers; changing the file later will not be picked up until restart.
477
+
`watch` controls filesystem watchers that reload local.toml, AGENTS.md, skills, MCP config, and `config.toml` itself. It defaults to off. Set `enabled` to `true` to attach watchers; with watchers off, changing the file later will not be picked up until restart.
478
478
479
479
| Field | Type | Default | Description |
480
480
| --- | --- | --- | --- |
481
-
|`enabled`|`boolean`|`true`| Attach filesystem watchers; `false` disables every `watch()` for the process |
481
+
|`enabled`|`boolean`|`false`| Attach filesystem watchers; `false` disables every `watch()` for the process |
482
482
483
483
`enabled` can be overridden by the `KIMI_CODE_WATCH` environment variable, which takes higher priority than `config.toml`.
|`KIMI_CODE_EXPERIMENTAL_SUBAGENT_FORK`| Experimental `fork` parameter on `Agent`/`AgentSwarm`: start the subagent from a snapshot of the caller's history instead of an empty context; `KIMI_CODE_EXPERIMENTAL_FLAG=1` also enables it | Truthy: `1`/`true`/`yes`/`on`; falsy: `0`/`false`/`no`/`off`|
162
162
|`KIMI_CODE_EXPERIMENTAL_TOOL_SELECT`| Experimental on-demand tool loading: tools of MCP servers marked `deferred: true` stay out of the top-level tool list and are loaded via `select_tools`; also requires the model to declare the `dynamically_loaded_tools` capability — see [MCP](../customization/mcp.md#loading-tools-on-demand)| Truthy: `1`/`true`/`yes`/`on`; falsy: `0`/`false`/`no`/`off`|
163
-
|`KIMI_CODE_WATCH`| Attach filesystem watchers that reload config and workspace files; higher priority than `[watch] enabled` (default `true`) | Truthy: `1`/`true`/`yes`/`on`; falsy: `0`/`false`/`no`/`off`|
163
+
|`KIMI_CODE_WATCH`| Attach filesystem watchers that reload config and workspace files; higher priority than `[watch] enabled` (default `false`) | Truthy: `1`/`true`/`yes`/`on`; falsy: `0`/`false`/`no`/`off`|
164
164
|`KIMI_CODE_SEARCH_WORKER`| Run the global search index in a dedicated worker thread; higher priority than `[database] search` (default `true`) | Truthy: `1`/`true`/`yes`/`on`; falsy: `0`/`false`/`no`/`off`|
165
165
|`KIMI_CODE_PERSISTENCE_MINIDB_READMODEL`| Use the minidb-backed read model for session indexing; higher priority than `[database] base` (default `true`) | Truthy: `1`/`true`/`yes`/`on`; falsy: `0`/`false`/`no`/`off`|
166
166
|`KIMI_MCP_STARTUP_TIMEOUT_MS`| Global default connection timeout (ms) for MCP servers; overrides the config file, but `mcp.json``startupTimeoutMs` still wins | Integer from `1` to `2147483647`; invalid values are ignored |
0 commit comments