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