diff --git a/app/config/langChain/langChainSetting.py b/app/config/langChain/langChainSetting.py index 6799952..ac0f3bf 100644 --- a/app/config/langChain/langChainSetting.py +++ b/app/config/langChain/langChainSetting.py @@ -61,7 +61,8 @@ def get_session_history(session_id): # 메시지 히스토리를 포함하여 넣어주는 러너블 생성 runnable_with_history = RunnableWithMessageHistory( - chain_with_trimming, + # chain_with_trimming, + prompt | llm, get_session_history, input_messages_key="input", history_messages_key="chat_history",