🔇 chore(makeprompt.py): remove debug print statements for messages and response variables

This commit is contained in:
2023-08-15 12:48:00 +02:00
parent 277c733bac
commit 6de23a1a33

View File

@@ -131,9 +131,7 @@ async def chatgpt_process(
functions=called_functions,
function_call="auto",
)
print(f"messages: {msgs}")
response = response["choices"][0]["message"] # type: ignore
print(f"response: {response}")
if response.get("function_call"):
function_call = response.get("function_call")
await call_function(message, function_call)