MCPcopy Index your code
hub / github.com/AI45Lab/Code / sanitize_final_text

Method sanitize_final_text

core/src/agent/completion_runtime.rs:70–76  ·  view source on GitHub ↗
(&self, text: &str)

Source from the content-addressed store, hash-verified

68 }
69
70 fn sanitize_final_text(&self, text: &str) -> String {
71 if let Some(ref sp) = self.config.security_provider {
72 sp.sanitize_output(text)
73 } else {
74 text.to_string()
75 }
76 }
77
78 fn log_execution_completed(&self, state: &ExecutionLoopState, turn: usize) {
79 tracing::info!(

Callers 1

Calls 1

sanitize_outputMethod · 0.45

Tested by

no test coverage detected