feat: regenerate SDK with updated OpenAPI spec

Speakeasy regeneration with latest schema changes including
type renames and new server tool models.
This commit is contained in:
OpenRouter SDK Bot
2026-03-27 15:18:14 -04:00
parent e72a84e82d
commit 5ab44f08f0
375 changed files with 36229 additions and 5480 deletions
+38
View File
@@ -0,0 +1,38 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .formatjsonobjectconfig import (
FormatJSONObjectConfig,
FormatJSONObjectConfigTypedDict,
)
from .formatjsonschemaconfig import (
FormatJSONSchemaConfig,
FormatJSONSchemaConfigTypedDict,
)
from .formattextconfig import FormatTextConfig, FormatTextConfigTypedDict
from openrouter.utils import get_discriminator
from pydantic import Discriminator, Tag
from typing import Union
from typing_extensions import Annotated, TypeAliasType
FormatsTypedDict = TypeAliasType(
"FormatsTypedDict",
Union[
FormatTextConfigTypedDict,
FormatJSONObjectConfigTypedDict,
FormatJSONSchemaConfigTypedDict,
],
)
r"""Text response format configuration"""
Formats = Annotated[
Union[
Annotated[FormatTextConfig, Tag("text")],
Annotated[FormatJSONObjectConfig, Tag("json_object")],
Annotated[FormatJSONSchemaConfig, Tag("json_schema")],
],
Discriminator(lambda m: get_discriminator(m, "type", "type")),
]
r"""Text response format configuration"""