Problems and questions
Start here when something does not work. Each answer is one paragraph and a link; the page it links to carries the detail.
The install fails, or zettcode is not found
Keep the quotes: uv tool install "zettcode[all]" — fish and zsh read an unquoted [all] as a pattern. A command not found: zettcode after a clean install means the tool's directory is not on your PATH; uv tool install prints the line to add. If you upgraded from 0.3 and see ModuleNotFoundError, a package manager removed the old distribution's files after writing the new ones, so install over it once: pip install --force-reinstall "zettcode[all]". See Getting started.
It starts with no model, or the first request fails
No models configured means ~/.zettcode/config.toml has no [[models]] table: the terminal still opens, the header reads no model, and /config walks you through the first entry. A connection error usually means base_url is wrong — it is the API root, not the chat page, so DeepSeek uses https://api.deepseek.com and some endpoints need /v1. Check it with the connection test, and see Getting started for a working entry.
ctx is high
Open /context: every percentage there is a share of the request, so the biggest row is what is filling it, usually Tool output. Read a range of lines instead of a whole file, and turn off the MCP servers and skills you do not use. See The context window.
I want to compact now
/compact summarizes the conversation immediately instead of waiting for the trigger, and keeps only the last turn verbatim. It is not /clear: it changes what later requests carry, not what is on screen. See Compaction.
I stopped a request by mistake
Esc or Ctrl-C stops the request and keeps what it had already done. /continue carries it on from where it stopped, and a request that failed or hit the output limit resumes the same way. See Commands.
A new version is offered
Once a day ZettCode asks PyPI in the background, and a newer release shows as a panel with Upgrade now, Skip this version and Not now; only a confirmed install is remembered, and the window keeps the code it started with, so restart to use it. [update] enabled = false turns the check off, and zettcode update upgrades without waiting to be asked. See Optional features.
On Windows
Install and run it in Windows Terminal rather than the legacy console, which does not deliver the key events the screen needs. The safe level does not sandbox on Windows — it runs only the commands it recognises as read-only — so leave the level at ask, one keypress per command. Image paste is not available; give the model a path instead. See Approvals.
I lost a session
Nothing is lost: every session appends to ~/.zettcode/sessions/<workspace key>/<session id>/data.jsonl as it happens. /resume lists this workspace's sessions, newest first, and --resume only finds one when -w names the directory it was created in. See Sessions.
The short ones
- Colours are wrong.
/theme lightor/theme darkfixes it for the session;[ui] themeinconfig.tomlmakes it stick. Colours. - The screen is garbled.
Ctrl-Lrepaints it. A program that wrote to the terminal behind ZettCode's back cannot be repaired. The transcript. - Copy does not work. ZettCode copies the selection itself when you release the drag; hold Shift or Option to use the terminal's instead. Over
ssh, see Copying overssh. - A skill, MCP server or plugin does nothing. The failure is reported by name and the session keeps going; import a plugin in a plain Python shell to see its error, and read
~/.zettcode/log/tui.logfor a server's banner. See Plugins and Skills and MCP. - I need to report a failure. Attach
~/.zettcode/log/tui.logfor terminal output and~/.zettcode/log/terminal.jsonlfor events; a failure there carries its traceback.ZETTCODE_LOG_LEVEL=debugadds the request and tool path. Read the file first: message bodies are not logged, but tracebacks are written verbatim. - I upgraded and it still says the old version.
zettcode --versionandwhich zettcodename the copy you start; an editable checkout or aPYTHONPATHcan be supplying the code, and ZettCode says so once instead of offering the same upgrade again. - The conversation is not what I sent. Chips such as
@skilland images are expanded for the request and kept as chips for you, which is why a resumed session shows the chip. - A session does not resume the same way. Titles and totals come from the metadata index and the conversation from the JSONL tree; a last line cut off by a crash is ignored, and the rest still loads.
- How do I exit?
/quit, orCtrl-Don an empty composer.Ctrl-Cstops a request instead of quitting.
Next steps
- Getting started: install, add a model, start a task.
- The interface: what each row of the screen means.
- Commands: every slash command.