MCPcopy Create free account
hub / github.com/AI45Lab/Code / emit_turn_start

Method emit_turn_start

core/src/agent/llm_turn.rs:100–110  ·  view source on GitHub ↗
(&self, turn: usize, event_tx: &Option<mpsc::Sender<AgentEvent>>)

Source from the content-addressed store, hash-verified

98 }
99
100 async fn emit_turn_start(&self, turn: usize, event_tx: &Option<mpsc::Sender<AgentEvent>>) {
101 if let Some(tx) = event_tx {
102 tx.send(AgentEvent::TurnStart { turn }).await.ok();
103 }
104
105 tracing::info!(
106 turn = turn,
107 max_turns = self.config.max_tool_rounds,
108 "Agent turn started"
109 );
110 }
111
112 async fn call_llm_with_circuit_breaker(
113 &self,

Callers 1

execute_llm_turnMethod · 0.80

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected