"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


ItemReferenceItemType = Literal["item_reference",]


class ItemReferenceItemTypedDict(TypedDict):
    r"""A reference to a previous response item by ID"""

    id: str
    type: ItemReferenceItemType


class ItemReferenceItem(BaseModel):
    r"""A reference to a previous response item by ID"""

    id: str

    type: ItemReferenceItemType
