submitをvec segmentを受け付ける形に変更

This commit is contained in:
2026-04-27 11:03:58 +09:00
parent c9a7d652dc
commit 0a3af686f7
19 changed files with 663 additions and 97 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
#![allow(dead_code)] // Phase 5 will consume `output` in detail mode.
use protocol::{Greeting, AlertLevel, AlertSource};
use protocol::{AlertLevel, AlertSource, Greeting, Segment};
pub enum Block {
Greeting(Greeting),
@@ -15,7 +15,7 @@ pub enum Block {
turn: usize,
},
UserMessage {
text: String,
segments: Vec<Segment>,
},
AssistantText {
text: String,