Skip to content

feat(llm): add --extended-context CLI flag for Claude 1M context window #1685

@bug-ops

Description

@bug-ops

Context

PR #1684 added enable_extended_context to CloudLlmConfig (TOML config). Per project Development Rules, new configuration options should also have a CLI argument for management.

Task

Add --extended-context CLI flag (boolean toggle) that sets llm.cloud.enable_extended_context = true at runtime without editing config.toml.

zeph --extended-context  # enables 1M context window for this session

Notes

  • Should override the config file value (session-only)
  • Display a cost warning similar to the wizard prompt
  • Low priority: this is a cost-sensitive opt-in feature; config.toml is the primary interface

Follows up on #1649.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestllmzeph-llm crate (Ollama, Claude)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions