Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: consolidate goose settings config #1318

Merged
merged 5 commits into from
Feb 21, 2025
Merged

feat: consolidate goose settings config #1318

merged 5 commits into from
Feb 21, 2025

Conversation

wendytang
Copy link
Collaborator

@wendytang wendytang commented Feb 20, 2025

Goose config: consolidate tool output and goose modes into Goose Settings

  • adds GOOSE_MODE configuration variable
  • note: both GOOSE_CLI_MIN_PRIORITY and GOOSE_MODE must be configured via config, no env var support
image

@wendytang wendytang marked this pull request as ready for review February 20, 2025 21:42
@wendytang wendytang marked this pull request as draft February 20, 2025 21:53
@wendytang wendytang marked this pull request as ready for review February 20, 2025 22:24
@@ -646,6 +646,12 @@ pub fn configure_settings_dialog() -> Result<(), Box<dyn Error>> {

pub fn configure_goose_mode_dialog() -> Result<(), Box<dyn Error>> {
let config = Config::global();

// Check if GOOSE_MODE is set as an environment variable
if std::env::var("GOOSE_MODE").is_ok() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to use it with this experiment manager: #1287?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, let's use both and consolidate both under 'Settings'

@laanak08
Copy link
Collaborator

Goose mode as a term doesnt describe what's being configured very well, if it's not too late, we could consider something more along the lines of write-approval or change-approval? Otherwise LGTM.

@wendytang wendytang merged commit 7355afe into main Feb 21, 2025
6 checks passed
@wendytang wendytang deleted the wtang/modes branch February 21, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants