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
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,25 @@ Nanocoder is built by the Nano Collective rather than a company, and that shapes
61
61
62
62
It is also bigger than one tool. The collective is assembling an open ecosystem of AI tooling — see the [other projects](https://nanocollective.org) — and contributors who show up now help shape what that becomes.
63
63
64
+
## Sponsors
65
+
66
+
Nanocoder is built not for profit, but for the community, and that work is funded by sponsors. [Become one](https://nanocollective.org/sponsor).
> Atlas Cloud is a full-modal AI inference platform that gives developers a single AI API to access video generation, image generation, and LLM APIs. Instead of managing multiple vendor integrations, you connect once and get unified access to 300+ curated models across all modalities.
80
+
81
+
Check out [Atlas Cloud's new coding plan promotion](https://www.atlascloud.ai/console/coding-plan) for more budget-friendly API access.
82
+
64
83
## Community
65
84
66
85
The Nano Collective is a community collective building AI tooling for the community, not for profit. We'd love your help.
|`NANOCODER_DEFAULT_SHUTDOWN_TIMEOUT`| Graceful shutdown timeout in milliseconds (default: 5000) |
42
+
|`NANOCODER_MAX_TURNS`| Maximum LLM turns for headless runs (`--plain` and ACP). Overrides `nanocoder.headless.maxTurns`; default 200. See [Headless](#headless)|
42
43
43
44
### Provider & MCP Overrides
44
45
@@ -150,6 +151,28 @@ Configure automatic session saving and retention. See [Session Management](../fe
150
151
|`retentionDays`| number |`30`| Auto-delete sessions older than this (minimum 1) |
Limits for non-interactive runs — the `--plain` shell (used in CI and non-TTY environments) and the ACP loop. There is no human to stop a wedged model in these runs, so the conversation loop caps the number of LLM turns.
157
+
158
+
When the cap is reached, the loop does **not** error out and discard work. On the final turn it strips all tools and asks the model to produce its answer using only the information it already has, so the run ends with a usable result.
159
+
160
+
```json
161
+
{
162
+
"nanocoder": {
163
+
"headless": {
164
+
"maxTurns": 200
165
+
}
166
+
}
167
+
}
168
+
```
169
+
170
+
| Option | Type | Default | Description |
171
+
|--------|------|---------|-------------|
172
+
|`maxTurns`| number |`200`| Maximum LLM turns before the loop forces a final, tool-free answer (minimum 1). Raise it for long iterative jobs; the `NANOCODER_MAX_TURNS` env var takes precedence over this setting. |
173
+
174
+
One turn is a single LLM response plus its batch of tool executions. The default of 200 is high enough for long iterative jobs to finish while still bounding cost and wall-clock time for an unattended run that gets stuck.
175
+
153
176
### Paste Handling
154
177
155
178
Configure how pasted text is handled in the input. By default, single-line pastes of 800 characters or fewer are inserted directly, while longer or multi-line pastes are collapsed into a `[Paste #N: X chars]` placeholder.
0 commit comments