Skip to content

Commit

Permalink
chore: fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa006bd committed Sep 8, 2023
1 parent 38ece57 commit d702100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai/question.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _cleanup_chats():
chatMemories.pop(chat_id)


def _get_chat(chat_id: str)->str:
def _get_chat(chat_id: str)->ConversationBufferMemory:
_cleanup_chats()

chatMemories.setdefault(chat_id, {
Expand Down

0 comments on commit d702100

Please sign in to comment.