Skip to content

Commit

Permalink
Remove tmp print
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExplainthis committed Mar 3, 2023
1 parent ba15de3 commit 003f597
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def __init__(self, model: ModelInterface, memory: MemoryInterface):
self.memory = memory

def get_response(self, user_id: str, text: str) -> str:
print(self.memory.get(user_id))
self.memory.append(user_id, {'role': 'user', 'content': text})
response = self.model.chat_completion(self.memory.get(user_id))
role = response['choices'][0]['message']['role']
Expand Down

0 comments on commit 003f597

Please sign in to comment.