Render history from the native agent

This commit is contained in:
Conrad Irwin 2025-08-15 17:27:57 -06:00
parent 296e3fcf69
commit e72f6f99c8
20 changed files with 1184 additions and 69 deletions

View file

@ -2,7 +2,7 @@ use std::path::Path;
use std::rc::Rc;
use crate::{AgentServer, AgentServerCommand};
use acp_thread::{AgentConnection, LoadError};
use acp_thread::{AgentConnection, AgentServerName, LoadError};
use anyhow::Result;
use gpui::{Entity, Task};
use project::Project;
@ -17,8 +17,8 @@ pub struct Gemini;
const ACP_ARG: &str = "--experimental-acp";
impl AgentServer for Gemini {
fn name(&self) -> &'static str {
"Gemini"
fn name(&self) -> AgentServerName {
AgentServerName("Gemini".into())
}
fn empty_state_headline(&self) -> &'static str {