mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
🔇 chore(makeprompt.py): remove debug print statements for messages and response variables
This commit is contained in:
@@ -131,9 +131,7 @@ async def chatgpt_process(
|
|||||||
functions=called_functions,
|
functions=called_functions,
|
||||||
function_call="auto",
|
function_call="auto",
|
||||||
)
|
)
|
||||||
print(f"messages: {msgs}")
|
|
||||||
response = response["choices"][0]["message"] # type: ignore
|
response = response["choices"][0]["message"] # type: ignore
|
||||||
print(f"response: {response}")
|
|
||||||
if response.get("function_call"):
|
if response.get("function_call"):
|
||||||
function_call = response.get("function_call")
|
function_call = response.get("function_call")
|
||||||
await call_function(message, function_call)
|
await call_function(message, function_call)
|
||||||
|
|||||||
Reference in New Issue
Block a user