Skip to content

Commit

Permalink
fix: return correct memory
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten committed Sep 5, 2023
1 parent b7131dd commit eb77671
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 @@ -34,7 +34,7 @@ def _get_chat(chat_id: str):

chatMemories[chat_id].lastQuestion = time.time()

return chatMemories[chat_id]
return chatMemories[chat_id].memory


def ask(repo_id: int, chat_id: str, question: str):
Expand Down

0 comments on commit eb77671

Please sign in to comment.