Skip to content

Error setting Default Context Strategy in CLI #2883

@bryan-valant

Description

@bryan-valant

Describe the bug

From the documentation at, https://block.github.io/goose/docs/guides/smart-context-management/#default-context-strategy, I expected the command goose configure set GOOSE_CONTEXT_STRATEGY summarize to permanently set the default context strategy. When I run the command, it returns:

error: unexpected argument 'set' found
Usage: goose configure
For more information, try '--help'.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a command prompt.
  2. Type goose configure set GOOSE_CONTEXT_STRATEGY summarize
  3. See error

Expected behavior
Expected the command to set the default context strategy.

Please provide following information:

  • OS & Arch: WSL / Ubuntu 22.04
  • Interface: CLI
  • Version: 1.0.27
  • Extensions enabled: Memory, Repomix, computercontroller, developer
  • Provider & Model: Claude Sonnet 4 via Bedrock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions