Skip to content

Commit 720dbf3

Browse files
committed
remove comments
1 parent 40cf653 commit 720dbf3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

crates/agent/src/agent/agent_loop/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ pub struct InvalidToolUse {
378378
pub content: String,
379379
}
380380

381-
/// State associated with parsing a stream of [Result<StreamEvent, StreamError>] into
381+
/// State associated with parsing a stream of [StreamResult] into
382382
/// [AgentLoopEventKind].
383383
#[derive(Debug)]
384384
struct StreamParseState {
@@ -432,8 +432,6 @@ impl StreamParseState {
432432
}
433433
}
434434

435-
// pub fn next(&mut self, ev: Option<Result<StreamEvent, StreamError>>, buf: &mut
436-
// Vec<AgentLoopEventKind>) {
437435
pub fn next(&mut self, ev: Option<StreamResult>, buf: &mut Vec<AgentLoopEventKind>) {
438436
if self.errored {
439437
if let Some(ev) = ev {

crates/agent/src/agent/agent_loop/protocol.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ pub enum AgentLoopEventKind {
141141
///
142142
/// This reflects the exact event the agent loop parses from a [Model::stream] response as part
143143
/// of executing a user turn.
144-
// Stream(StreamResult<StreamEvent, StreamError>),
145144
Stream(StreamResult),
146145
}
147146

0 commit comments

Comments
 (0)