Fix spawning ACP login task (for v0.204.x) (#38565)

Cole Miller created

Release Notes:

- Fixed a bug that prevented authenticating in the terminal with Gemini
and Claude Code.

Change summary

crates/agent_ui/src/acp/thread_view.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/agent_ui/src/acp/thread_view.rs 🔗

@@ -1605,7 +1605,7 @@ impl AcpThreadView {
             task.shell = shell;
 
             let terminal = terminal_panel.update_in(cx, |terminal_panel, window, cx| {
-                terminal_panel.spawn_task(&login, window, cx)
+                terminal_panel.spawn_task(&task, window, cx)
             })?;
 
             let terminal = terminal.await?;