Fix agent context errors and input visibility

This commit is contained in:
2026-08-16 23:44:58 -05:00
parent dd2a18b48d
commit b5f3290d1a
5 changed files with 262 additions and 68 deletions
+3 -4
View File
@@ -16161,12 +16161,11 @@ impl View for Input {
ambient_agent_model.as_ref(app).should_show_status_footer()
});
if FeatureFlag::CloudMode.is_enabled() && should_show_status_footer {
self.render_ambient_agent_status_footer(app)
} else if FeatureFlag::AgentView.is_enabled()
&& self.agent_view_controller.as_ref(app).is_active()
if FeatureFlag::AgentView.is_enabled() && self.agent_view_controller.as_ref(app).is_active()
{
self.render_agent_input(app)
} else if FeatureFlag::CloudMode.is_enabled() && should_show_status_footer {
self.render_ambient_agent_status_footer(app)
} else if FeatureFlag::AgentView.is_enabled()
&& !self.agent_view_controller.as_ref(app).is_active()
&& !should_render_ps1_prompt(&self.model.lock(), app)