ModelRequest autogen.beta.events.types.ModelRequest # Bases: BaseEvent Event representing an input request sent to the model. content instance-attribute # content to_api # to_api() Source code in autogen/beta/events/types.py 172 173 174 175 176def to_api(self) -> dict[str, Any]: return { "content": self.content, "role": "user", }