From f50ac6c6a536e72866697b4d15bf948e38e85a6f Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Thu, 4 Sep 2025 22:00:50 -0400 Subject: [PATCH] don't show configuration view for claude code --- crates/agent_ui/src/acp/thread_view.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rs index 441b4aa06fdad65fce079ea36dc3d2e59cf4644f..a8a1c79269d2710184bee9b57c1face3adc34282 100644 --- a/crates/agent_ui/src/acp/thread_view.rs +++ b/crates/agent_ui/src/acp/thread_view.rs @@ -29,7 +29,7 @@ use gpui::{ }; use language::Buffer; -use language_model::LanguageModelRegistry; +use language_model::{ANTHROPIC_PROVIDER_ID, LanguageModelRegistry}; use markdown::{HeadingLevelStyles, Markdown, MarkdownElement, MarkdownStyle}; use project::{Project, ProjectEntryId}; use prompt_store::{PromptId, PromptStore}; @@ -672,7 +672,9 @@ impl AcpThreadView { cx: &mut App, ) { let agent_name = agent.name(); - let (configuration_view, subscription) = if let Some(provider_id) = err.provider_id { + let (configuration_view, subscription) = if let Some(provider_id) = err.provider_id + && provider_id != ANTHROPIC_PROVIDER_ID + { let registry = LanguageModelRegistry::global(cx); let sub = window.subscribe(®istry, cx, {