aloof-scooter-47164
09/11/2025, 2:04 AM2025-09-10 18:35:40,134 - INFO agent - User state changed from: speaking to listening {"room": "492b0ce9-97d8-44cc-8d0b-a07d7a20214f_DGTSo", "agent": "", "pid": 38156, "job_id": "AJ_XGdByrDPSQH9"}
2025-09-10 18:35:40,135 - INFO agent - Cancelling disconnect timer {"room": "492b0ce9-97d8-44cc-8d0b-a07d7a20214f_DGTSo", "agent": "", "pid": 38156, "job_id": "AJ_XGdByrDPSQH9"}
2025-09-10 18:35:40,135 - DEBUG livekit.agents - input stream detached {"room": "492b0ce9-97d8-44cc-8d0b-a07d7a20214f_DGTSo", "agent": "", "participant": "device-492b0ce9-97d8-44cc-8d0b-a07d7a20214f", "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"], "pid": 38156, "job_id": "AJ_XGdByrDPSQH9"}
Conversation item added from user: Hurracanes.. interrupted: False
- text: Dachoynes.
2025-09-10 18:35:40,846 - INFO agent - Agent state changed from: listening to speaking {"room": "492b0ce9-97d8-44cc-8d0b-a07d7a20214f_DGTSo", "agent": "", "pid": 38156, "job_id": "AJ_XGdByrDPSQH9"}
2025-09-10 18:35:42,896 - DEBUG livekit.agents - executing tool {"room": "492b0ce9-97d8-44cc-8d0b-a07d7a20214f_DGTSo", "agent": "", "function": "search_web", "arguments": "{ \n \"query\": \"noticias recientes sobre huracanes\", \n \"num_results\": 1 \n} \n", "speech_id": "speech_c088ab42ae8b", "pid": 38156, "job_id": "AJ_XGdByrDPSQH9"}
but the "executing tool" is part of an internal callback of the AgentActivity, is there a way to modify this behaviour or listen to that point? i'm playing with the model outputting thinking audio for masking latency of slow tool calls but this makes the system enter speaking mode instead of thinking and we use the end of speech as a notifier that agent speech is done and user can speak (but in this case, i'd like to keep it in thinking or have the interceptor to not notify the eos on this case)