Skip to content

Commit

Permalink
Rename tags
Browse files Browse the repository at this point in the history
  • Loading branch information
njbbaer committed Aug 19, 2024
1 parent c85a7de commit c7b5f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simulacrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ async def chat(self, user_input, user_name, image_url):
self.context.add_message("user", user_input, image_url)
self.context.save()
completion = await ChatExecutor(self.context).execute()
content = self._strip_tag(completion.content.strip(), "note")
content = self._strip_tag(completion.content.strip(), "playwright")
self.last_completion = completion
self.context.add_message("assistant", content)
self.context.save()
speech = self._strip_tag(content, "think")
speech = self._strip_tag(content, "thinking")
return speech

async def new_conversation(self):
Expand Down

0 comments on commit c7b5f43

Please sign in to comment.