acp: Hide feedback buttons for external agents (#36630)
Release Notes: - N/A
This commit is contained in:
parent
1ee07a4baf
commit
8e57f633d0
1 changed files with 5 additions and 1 deletions
|
@ -3815,7 +3815,11 @@ impl AcpThreadView {
|
||||||
.flex_wrap()
|
.flex_wrap()
|
||||||
.justify_end();
|
.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;
|
let feedback = self.thread_feedback.feedback;
|
||||||
container = container.child(
|
container = container.child(
|
||||||
div().visible_on_hover("thread-controls-container").child(
|
div().visible_on_hover("thread-controls-container").child(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue