Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: LLM call crash when no tools
Clémence Lesné516bacc6da25
diff --git a/app/helpers/llm_worker.py b/app/helpers/llm_worker.pyindex adb532e..955ccf8 100644--- a/app/helpers/llm_worker.py+++ b/app/helpers/llm_worker.py@@ -148,7 +148,9 @@ async def _completion_stream_worker(max_tokens=max_tokens,messages=prompt,stream=True,- tools=tools,+ # AI Inference API doesn't support enpty tools array+ # See: https://github.com/microsoft/call-center-ai/issues/399+ tools=tools or None,)# Yield chuncks