acp: Hide feedback buttons for external agents (#36630)

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-08-20 21:35:48 +00:00
committed by GitHub
parent 595cf1c6c3
commit 9e34bb3f05
+5 -1
View File
@@ -3815,7 +3815,11 @@ impl AcpThreadView {
.flex_wrap()
.justify_end();
if AgentSettings::get_global(cx).enable_feedback {
if AgentSettings::get_global(cx).enable_feedback
&& self
.thread()
.is_some_and(|thread| thread.read(cx).connection().telemetry().is_some())
{
let feedback = self.thread_feedback.feedback;
container = container.child(
div().visible_on_hover("thread-controls-container").child(