Wire up history completely
Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
d83210d978
commit
4b1a48e4de
7 changed files with 93 additions and 98 deletions
|
@ -2,7 +2,6 @@ use crate::{AcpThread, AcpThreadMetadata};
|
|||
use agent_client_protocol::{self as acp};
|
||||
use anyhow::Result;
|
||||
use collections::IndexMap;
|
||||
use futures::channel::mpsc::UnboundedReceiver;
|
||||
use gpui::{Entity, SharedString, Task};
|
||||
use project::Project;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
@ -27,6 +26,8 @@ pub trait AgentConnection {
|
|||
cx: &mut App,
|
||||
) -> Task<Result<Entity<AcpThread>>>;
|
||||
|
||||
// todo!(expose a history trait, and include list_threads and load_thread)
|
||||
// todo!(write a test)
|
||||
fn list_threads(
|
||||
&self,
|
||||
_cx: &mut App,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue