Skip to content

Agent turn limits configuration not working #7609

@alexyao2015

Description

@alexyao2015

Describe the bug

GOOSE_MAX_TURNS and GOOSE_SUBAGENT_MAX_TURNS are not respected in the config.yaml.

GOOSE_SUBAGENT_MAX_TURNS is only respected as an environment variable

The only way to set the main agent max turns is to use --max-turns as a cli flag. The GOOSE_MAX_TURNS usage as an environment variable doesn't work.

Using an AI agent gathered these bugs and I confirmed that these are bugs by manually invoking the cli tool and saw the turn limit not functioning correctly

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