From d1aa571871dfdcddca0acccb1814ac71ecedaafe Mon Sep 17 00:00:00 2001 From: Sahil Bhatt <95122593+Sahil8383@users.noreply.github.com> Date: Thu, 12 Feb 2026 19:53:46 +0530 Subject: [PATCH] Fix/configure add provider custom headers (#7157) Signed-off-by: Sahil8383 --- crates/goose-cli/src/commands/configure.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/goose-cli/src/commands/configure.rs b/crates/goose-cli/src/commands/configure.rs index aa13ccb99a..4be26fd6cf 100644 --- a/crates/goose-cli/src/commands/configure.rs +++ b/crates/goose-cli/src/commands/configure.rs @@ -1913,12 +1913,7 @@ fn add_provider() -> anyhow::Result<()> { .initial_value(true) .interact()?; - // Ask about custom headers for OpenAI compatible providers - let headers = if provider_type == "openai_compatible" { - collect_custom_headers()? - } else { - None - }; + let headers = collect_custom_headers()?; create_custom_provider(CreateCustomProviderParams { engine: provider_type.to_string(),