Skip to content

Add Provider/Model Options to Run Command #2435

@haydenth

Description

@haydenth

Hello - It would be really useful if Goose had the ability to:

  • Specify the model / provider on the command line in the run schema
  • Ignore ENV vars when set explicitly like this

Here's an example from the docs of how to use run:

goose run  -t "Initialize project" 

I would like to run like this (for instance)

goose run -t "Initialize project" \
  --provider openai \
  --model gpt-4.1

This would be really useful in certain cases where I have saved recipes/instruction files that have different provider/model requirements. For instance, the task that generates a commit message can run with gemini-2.5-flash just fine but there are other recipes/saved instructions which need more firepower.

  • I have verified this does not duplicate an existing feature request

Metadata

Metadata

Labels

enhancementNew feature or requestp3Priority 3 - Low

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions