Skip to content

Commit 6651d1a

Browse files
committed
hotfix: Removes log injection vulnerability
1 parent 66b4250 commit 6651d1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/dialog/routers/openai.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ async def ask_question_to_llm(message: OpenAIChat, session: Session = Depends(ge
4444
"""
4545
This posts a message to the LLM and returns the response in the OpenAI format.
4646
"""
47-
logging.info(f"Received message: {message}")
4847
start_time = datetime.datetime.now()
4948
new_chat = ChatEntity(
5049
session_id = f"openai-{str(uuid4())}",

0 commit comments

Comments
 (0)