Override this method to provide the implementation of the tool.
(self, message: Message)
| 68 | |
| 69 | @abstractmethod |
| 70 | async def _process(self, message: Message) -> AsyncIterator[Message]: |
| 71 | """Override this method to provide the implementation of the tool.""" |
| 72 | if False: # This is to convince the type checker that this is an async generator. |
| 73 | yield # type: ignore[unreachable] |
| 74 | _ = message # Stifle "unused argument" warning. |
| 75 | raise NotImplementedError |
| 76 | |
| 77 | @abstractmethod |
| 78 | def instruction(self) -> str: |