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: Disable translated messages debugging

Clémence Lesné75a9f0d44ddd
diff --git a/app/helpers/call_llm.py b/app/helpers/call_llm.py
index 07e36ee..fa1487b 100644
--- a/app/helpers/call_llm.py
+++ b/app/helpers/call_llm.py
@@ -497,7 +497,7 @@ async def _generate_chat_completion( # noqa: PLR0913, PLR0912, PLR0915
translated_messages = await asyncio.gather(
*[message.translate(call.lang.short_code) for message in call.messages]
)
- logger.debug("Translated messages: %s", translated_messages)
+ # logger.debug("Translated messages: %s", translated_messages)
# Execute LLM inference
content_buffer_pointer = 0