mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Speakeasy regeneration with latest schema changes including type renames and new server tool models.
21 lines
851 B
Python
21 lines
851 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from openrouter.types import BaseModel
|
|
from typing import Optional
|
|
from typing_extensions import NotRequired, TypedDict
|
|
|
|
|
|
class ChatDebugOptionsTypedDict(TypedDict):
|
|
r"""Debug options for inspecting request transformations (streaming only)"""
|
|
|
|
echo_upstream_body: NotRequired[bool]
|
|
r"""If true, includes the transformed upstream request body in a debug chunk at the start of the stream. Only works with streaming mode."""
|
|
|
|
|
|
class ChatDebugOptions(BaseModel):
|
|
r"""Debug options for inspecting request transformations (streaming only)"""
|
|
|
|
echo_upstream_body: Optional[bool] = None
|
|
r"""If true, includes the transformed upstream request body in a debug chunk at the start of the stream. Only works with streaming mode."""
|