acp: Allow editing of thread titles in agent2 (#36706)
Release Notes: - N/A --------- Co-authored-by: Richard Feldman <oss@rtfeldman.com>
This commit is contained in:
parent
555692fac6
commit
731b5d0def
7 changed files with 254 additions and 105 deletions
|
@ -1383,6 +1383,7 @@ async fn test_title_generation(cx: &mut TestAppContext) {
|
|||
summary_model.send_last_completion_stream_text_chunk("oodnight Moon");
|
||||
summary_model.end_last_completion_stream();
|
||||
send.collect::<Vec<_>>().await;
|
||||
cx.run_until_parked();
|
||||
thread.read_with(cx, |thread, _| assert_eq!(thread.title(), "Hello world"));
|
||||
|
||||
// Send another message, ensuring no title is generated this time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue