stop writing logs to disk since we're capturing them in the DB
This commit is contained in:
parent
a197bd9223
commit
1aec82f53d
@ -349,7 +349,7 @@ async def stream_code(websocket: WebSocket):
|
|||||||
print("Exact used model for generation: ", exact_llm_version)
|
print("Exact used model for generation: ", exact_llm_version)
|
||||||
|
|
||||||
# Write the messages dict into a log so that we can debug later
|
# 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:
|
if IS_PROD:
|
||||||
# Catch any errors from sending to SaaS backend and continue
|
# Catch any errors from sending to SaaS backend and continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user