chore: 🐝 Update SDK - Generate (spec change merged) 0.11.14 (#416)

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-07-09 17:32:51 +00:00
committed by GitHub
co-authored by speakeasybot speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent c382f8fbc0
commit 1281ae62da
15 changed files with 131 additions and 46 deletions
+3
View File
@@ -2246,6 +2246,7 @@ if TYPE_CHECKING:
ReasoningItemType,
ReasoningItemTypedDict,
)
from .reasoningmode import ReasoningMode
from .reasoningsummarypartaddedevent import (
ReasoningSummaryPartAddedEvent,
ReasoningSummaryPartAddedEventType,
@@ -4282,6 +4283,7 @@ __all__ = [
"ReasoningItemStatusUnionTypedDict",
"ReasoningItemType",
"ReasoningItemTypedDict",
"ReasoningMode",
"ReasoningSummaryPartAddedEvent",
"ReasoningSummaryPartAddedEventType",
"ReasoningSummaryPartAddedEventTypedDict",
@@ -6419,6 +6421,7 @@ _dynamic_imports: dict[str, str] = {
"ReasoningItemStatusUnionTypedDict": ".reasoningitem",
"ReasoningItemType": ".reasoningitem",
"ReasoningItemTypedDict": ".reasoningitem",
"ReasoningMode": ".reasoningmode",
"ReasoningSummaryPartAddedEvent": ".reasoningsummarypartaddedevent",
"ReasoningSummaryPartAddedEventType": ".reasoningsummarypartaddedevent",
"ReasoningSummaryPartAddedEventTypedDict": ".reasoningsummarypartaddedevent",
@@ -2,6 +2,7 @@
from __future__ import annotations
from .reasoningeffort import ReasoningEffort
from .reasoningmode import ReasoningMode
from .reasoningsummaryverbosity import ReasoningSummaryVerbosity
from openrouter.types import (
BaseModel,
@@ -16,18 +17,23 @@ from typing_extensions import NotRequired, TypedDict
class BaseReasoningConfigTypedDict(TypedDict):
effort: NotRequired[Nullable[ReasoningEffort]]
mode: NotRequired[Nullable[ReasoningMode]]
r"""Selects the reasoning mode. `standard` is the default; `pro` engages deeper reasoning on models that support it, billed at standard token rates. Only supported by OpenAI GPT-5.6 and newer."""
summary: NotRequired[Nullable[ReasoningSummaryVerbosity]]
class BaseReasoningConfig(BaseModel):
effort: OptionalNullable[ReasoningEffort] = UNSET
mode: OptionalNullable[ReasoningMode] = UNSET
r"""Selects the reasoning mode. `standard` is the default; `pro` engages deeper reasoning on models that support it, billed at standard token rates. Only supported by OpenAI GPT-5.6 and newer."""
summary: OptionalNullable[ReasoningSummaryVerbosity] = UNSET
@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = set(["effort", "summary"])
nullable_fields = set(["effort", "summary"])
optional_fields = set(["effort", "mode", "summary"])
nullable_fields = set(["effort", "mode", "summary"])
serialized = handler(self)
m = {}
+8 -2
View File
@@ -2,6 +2,7 @@
from __future__ import annotations
from .reasoningeffort import ReasoningEffort
from .reasoningmode import ReasoningMode
from .reasoningsummaryverbosity import ReasoningSummaryVerbosity
from openrouter.types import (
BaseModel,
@@ -18,6 +19,8 @@ class ReasoningConfigTypedDict(TypedDict):
r"""Configuration for reasoning mode in the response"""
effort: NotRequired[Nullable[ReasoningEffort]]
mode: NotRequired[Nullable[ReasoningMode]]
r"""Selects the reasoning mode. `standard` is the default; `pro` engages deeper reasoning on models that support it, billed at standard token rates. Only supported by OpenAI GPT-5.6 and newer."""
summary: NotRequired[Nullable[ReasoningSummaryVerbosity]]
enabled: NotRequired[Nullable[bool]]
max_tokens: NotRequired[Nullable[int]]
@@ -28,6 +31,9 @@ class ReasoningConfig(BaseModel):
effort: OptionalNullable[ReasoningEffort] = UNSET
mode: OptionalNullable[ReasoningMode] = UNSET
r"""Selects the reasoning mode. `standard` is the default; `pro` engages deeper reasoning on models that support it, billed at standard token rates. Only supported by OpenAI GPT-5.6 and newer."""
summary: OptionalNullable[ReasoningSummaryVerbosity] = UNSET
enabled: OptionalNullable[bool] = UNSET
@@ -36,8 +42,8 @@ class ReasoningConfig(BaseModel):
@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = set(["effort", "summary", "enabled", "max_tokens"])
nullable_fields = set(["effort", "summary", "enabled", "max_tokens"])
optional_fields = set(["effort", "mode", "summary", "enabled", "max_tokens"])
nullable_fields = set(["effort", "mode", "summary", "enabled", "max_tokens"])
serialized = handler(self)
m = {}
@@ -0,0 +1,15 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from openrouter.types import UnrecognizedStr
from typing import Literal, Union
ReasoningMode = Union[
Literal[
"standard",
"pro",
],
UnrecognizedStr,
]
r"""Selects the reasoning mode. `standard` is the default; `pro` engages deeper reasoning on models that support it, billed at standard token rates. Only supported by OpenAI GPT-5.6 and newer."""