Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Enhance logging

Clémence Lesnéf474234f75a7
diff --git a/app/helpers/call_llm.py b/app/helpers/call_llm.py
index 40d3df3..ad74678 100644
--- a/app/helpers/call_llm.py
+++ b/app/helpers/call_llm.py
@@ -229,7 +229,7 @@ async def load_llm_chat( # noqa: PLR0913, PLR0915
await _stop_callback()
# Add it to the call history and update last interaction
- logger.info("Voice stored: %s", stt_buffer)
+ logger.info("Voice stored: %s", stt_text)
async with _db.call_transac(
call=call,
scheduler=scheduler,