def __init__(
        self,
        resource: OpenAIResource,
        messages: list[Message],
        *args: Any,
        **kwargs: dict[str, Any],
    ) -> None:
        """Constructor method.

        Args:
            resource: An OpenAIResource instance.
            messages: A list of `Message` instances.
            *args: Positional arguments to pass to the parent constructor.
            **kwargs: Keyword arguments to pass to the parent constructor.
        """
        super().__init__(*args, **kwargs)

        self.resource = resource
        self.messages = messages
Constructor method.

        Args:
            resource: An OpenAIResource instance.
            messages: A list of `Message` instances.
            *args: Positional arguments to pass to the parent constructor.
            **kwargs: Keyword arguments to pass to the parent constructor.
        
lanarky/adapters/openai/responses.py