Add a user message to history.
(self, content: str)
| 84 | self._skip_next_token_check: bool = False |
| 85 | |
| 86 | def add_user_message(self, content: str): |
| 87 | """Add a user message to history.""" |
| 88 | self.messages.append(Message(role="user", content=content)) |
| 89 | |
| 90 | def _check_cancelled(self) -> bool: |
| 91 | """Check if agent execution has been cancelled. |