# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import Iterable
from typing_extensions import Required, TypedDict

from .chat_message_param import ChatMessageParam
from .shared_params.context import Context

__all__ = ["AgentChatParams"]


class AgentChatParams(TypedDict, total=False):
    messages: Required[Iterable[ChatMessageParam]]
    """Array of chat messages"""

    context: Context
    """
    Optional context: identity (conversation scoping), attributes (injected into
    system prompt), and pass-through for tools
    """

    conversation_id: str
    """Conversation ID to continue an existing conversation"""

    stream: bool
    """Enable streaming response"""
