Enter to sendยทShift+Enter new line
parse( self, text: str, ) -> AgentAction | AgentFinish
Parse text into agent action/finish.