| 600 | """ |
| 601 | |
| 602 | def handle_message_fallback(self, msg: str | ChatDocument) -> Any: |
| 603 | if isinstance(msg, ChatDocument) and msg.metadata.sender == Entity.LLM: |
| 604 | return f""" |
| 605 | Your INTENT is unclear! |
| 606 | |
| 607 | - If you intended to say you're finished with your task, |
| 608 | then use the `{DoneTool.name()}` tool/function with |
| 609 | the `content` field set to the summary of the Polinsky transforms |
| 610 | of 100 and 500. |
| 611 | |
| 612 | - If you intended to ask about the Polinsky transform, |
| 613 | then use the `{QueryTool.name()}` tool/function to ask about |
| 614 | the Polinsky transform of a number. |
| 615 | """ |
| 616 | |
| 617 | done_tool_name = DoneTool.default_value("request") |
| 618 | requestor_agent = Requestor( |