From 1aec82f53dbf96f28c0cf7dbeb15a645b26a629f Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Wed, 10 Apr 2024 13:52:49 -0400 Subject: [PATCH] stop writing logs to disk since we're capturing them in the DB --- backend/routes/generate_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.py index 29842bd..aef4669 100644 --- a/backend/routes/generate_code.py +++ b/backend/routes/generate_code.py @@ -349,7 +349,7 @@ async def stream_code(websocket: WebSocket): print("Exact used model for generation: ", exact_llm_version) # Write the messages dict into a log so that we can debug later - write_logs(prompt_messages, completion) # type: ignore + # write_logs(prompt_messages, completion) # type: ignore if IS_PROD: # Catch any errors from sending to SaaS backend and continue