Skip to content

Commit e7c1128

Browse files
committed
fix(core): add wildcard arm to InjectionVerdict matches for non_exhaustive compat
1 parent 9824b10 commit e7c1128

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

crates/zeph-core/src/agent/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,7 @@ impl<C: Channel> Agent<C> {
20432043
tracing::warn!("injection_classifier soft_signal on user input");
20442044
}
20452045
zeph_sanitizer::InjectionVerdict::Clean => {}
2046+
_ => {}
20462047
}
20472048
}
20482049
#[cfg(feature = "classifiers")]

crates/zeph-core/src/agent/tool_execution/sanitize.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ impl<C: Channel> Agent<C> {
229229
self.update_metrics(|m| m.classifier_tool_suspicious += 1);
230230
}
231231
zeph_sanitizer::InjectionVerdict::Clean => {}
232+
_ => {}
232233
}
233234
}
234235
None

0 commit comments

Comments
 (0)