MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_warning

Method with_warning

atomic-agent/src/turn/orchestrator/mod.rs:200–203  ·  view source on GitHub ↗

Add a warning.

(mut self, warning: impl Into<String>)

Source from the content-addressed store, hash-verified

198
199 /// Add a warning.
200 pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self {
201 self.warnings.push(warning.into());
202 self
203 }
204
205 /// Attach an incomplete outcome after it has been durably persisted.
206 pub fn with_incomplete(mut self, incomplete: IncompleteSession) -> Self {

Callers 6

handle_turn_startMethod · 0.45
handle_turn_endMethod · 0.45
handle_tool_useMethod · 0.45
handle_session_startMethod · 0.45

Calls 1

pushMethod · 0.45