#64219·zed

Context too large

Author: ChetanVashishtCreated Sep 15, 2026Updated Sep 17, 2026
Labelsstate:needs info

Reproduction steps

  1. Start zed on macOS
  2. Use chatgpt subscription in zed
  3. Open a project
  4. Send a simple chat to GPT-5.6-terra Ex:
This is a fairly simple project under way still. For the rendering I want to use sheet.js. Please add this to the project rendering. Right now it's using an inmemroy database. Let's swap to outputing csv/xls that sheet.js can render. I will think about sql lite later. Because this an append only project - it makes sense to use a file. But that decision is for later
  1. Response
Context too large

Current vs. Expected behavior

The chat should work - on retrying twice it succeeded

Zed version and system specs

Zed 1.19.2 Commit: df181c6f58d02677b385fa947d6bfde6d3530078 Version: 1.19.2+stable.356.df181c6f58d02677b385fa947d6bfde6d3530078 OS: Apple M1 Pro, Sequoia 15.7.4 (24G517)

Attach Zed log file

Zed.log
2026-09-15T12:54:03+05:30 INFO  [agent] Received prompt request for session: 13daf6de-1172-4825-ba9d-32f4e94b5560
2026-09-15T12:54:03+05:30 INFO  [agent::thread] Thread::send called with model: GPT-5.6-Terra
2026-09-15T12:54:07+05:30 ERROR [agent::thread] failed to generate thread title: Your input exceeds the context window of this model. Please adjust your input and try again.
2026-09-15T12:54:11+05:30 INFO  [zed::reliability] memory usage: resident 1061 MiB (+128 MiB), virtual 483619 MiB
2026-09-15T12:54:11+05:30 INFO  [zed::reliability] worktree diagnostics: stores 2, slots 2, live 2, visible 2, strong 2, dead weak 0, loading 0, entries 1849, visible entries 1837, largest /Users/chetanvashisht/projects/whatsapp-tracker (1525 entries, 1520 visible)
2026-09-15T12:54:15+05:30 ERROR [agent::thread] failed to generate thread title: Your input exceeds the context window of this model. Please adjust your input and try again.
2026-09-15T12:54:16+05:30 ERROR [agent::thread] Turn execution failed: Your input exceeds the context window of this model. Please adjust your input and try again.
2026-09-15T12:54:16+05:30 ERROR [agent] Error in model response stream: Your input exceeds the context window of this model. Please adjust your input and try again.
2026-09-15T12:54:16+05:30 ERROR [acp_thread] Error in run turn: Your input exceeds the context window of this model. Please adjust your input and try again.
2026-09-15T12:54:21+05:30 ERROR [agent::thread] failed to generate thread title: Your input exceeds the context window of this model. Please adjust your input and try again.
2026-09-15T12:55:11+05:30 INFO  [zed::reliability] memory usage: resident 853 MiB (-208 MiB), virtual 483617 MiB

Relevant Zed settings

settings.json
{
    "default_model": {
      "speed": "standard",
      "effort": "medium",
      "provider": "openai-subscribed",
      "model": "gpt-5.6-terra",
      "enable_thinking": true
    }
}

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None