(&self, state: &ExecutionLoopState, turn: usize)
| 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, |
no outgoing calls
no test coverage detected