Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 9, 2024
1 parent 020b4b3 commit 3afe37c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jupyter-ai/jupyter_ai/history.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import List, Sequence, Optional
from typing import List, Optional, Sequence

from langchain_core.chat_history import BaseChatMessageHistory
from langchain_core.messages import BaseMessage
Expand All @@ -14,7 +14,7 @@ class BoundedChatHistory(BaseChatMessageHistory, BaseModel):
messages and 2 AI messages.
"""

all_messages: List[BaseMessage] = Field(default_factory=list, alias='messages')
all_messages: List[BaseMessage] = Field(default_factory=list, alias="messages")
size: int = 0
k: int

Expand Down

0 comments on commit 3afe37c

Please sign in to comment.