diff --git a/backend/main.py b/backend/main.py index 461ae937b..3e3d265a2 100644 --- a/backend/main.py +++ b/backend/main.py @@ -414,7 +414,7 @@ async def chat_completion_tools_handler( content = await get_content_from_response(response) log.debug(f"{content=}") - if content is None: + if not content: return body, {} result = json.loads(content)