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

from __future__ import annotations
from friendli.core.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class FunctionalityTypedDict(TypedDict):
    """Functionality of the model."""

    tool_call: bool
    parallel_tool_call: bool
    structured_output: NotRequired[bool]


class Functionality(BaseModel):
    """Functionality of the model."""

    tool_call: bool
    parallel_tool_call: bool
    structured_output: Optional[bool] = True
