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

Method log_execution_completed

core/src/agent/completion_runtime.rs:78–87  ·  view source on GitHub ↗
(&self, state: &ExecutionLoopState, turn: usize)

Source from the content-addressed store, hash-verified

76 }
77
78 fn log_execution_completed(&self, state: &ExecutionLoopState, turn: usize) {
79 tracing::info!(
80 tool_calls_count = state.tool_calls_count,
81 total_prompt_tokens = state.total_usage.prompt_tokens,
82 total_completion_tokens = state.total_usage.completion_tokens,
83 total_tokens = state.total_usage.total_tokens,
84 turns = turn,
85 "Agent execution completed"
86 );
87 }
88
89 async fn emit_end_if_requested(
90 &self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected