(self)
| 670 | return prompt |
| 671 | |
| 672 | def get_cur_message_text(self): |
| 673 | text = "" |
| 674 | for msg in self.cur_messages: |
| 675 | text += msg["content"] + "\n" |
| 676 | return text |
| 677 | |
| 678 | def get_ident_mentions(self, text): |
| 679 | # Split the string on any character that is not alphanumeric |