Skip to content

Commit

Permalink
Fix RunnableWithMessageHistory import (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski authored Sep 9, 2024
1 parent 5a1a60a commit ad6f3a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
)
from jupyter_ai_magics.providers import BaseProvider
from langchain_core.messages import AIMessageChunk
from langchain_core.runnables import ConfigurableFieldSpec, RunnableWithMessageHistory
from langchain_core.runnables import ConfigurableFieldSpec
from langchain_core.runnables.history import RunnableWithMessageHistory

from ..models import HumanChatMessage
from .base import BaseChatHandler, SlashCommandRoutingType
Expand Down

0 comments on commit ad6f3a3

Please sign in to comment.