Skip to content

error: Context window blocked #3062

@LLuke

Description

@LLuke

During conversation, claw crashed with context_window_blocked

... (long output from source code searching by claw)
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ToolSource {
Base,
… output truncated for display; full result preserved in session. 
✘ ❌ Request failed
[error-kind: unknown]
error: Context window blocked
  Failure class    context_window_blocked
  Session          session-1779586711046-0
  Detail           Requested token count exceeds the model's maximum context length of 196608 tokens. You requested a total of 218999 token…

Recovery
  Compact          /compact
  Resume compact   claw --resume session-1779586711046-0 /compact
  Fresh session    /clear --confirm
  Reduce scope     remove large pasted context/files or ask for a smaller slice 
  Retry            rerun after compacting or reducing the request

Run `claw --help` for usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions