mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382)
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
from openrouter.types import BaseModel, UnrecognizedStr
|
||||
from openrouter.utils import validate_open_enum
|
||||
from pydantic.functional_validators import PlainValidator
|
||||
from typing import Literal, Union
|
||||
from typing_extensions import Annotated, TypedDict
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
|
||||
Code = Union[
|
||||
@@ -43,6 +41,6 @@ class ResponsesErrorFieldTypedDict(TypedDict):
|
||||
class ResponsesErrorField(BaseModel):
|
||||
r"""Error information returned from the API"""
|
||||
|
||||
code: Annotated[Code, PlainValidator(validate_open_enum(False))]
|
||||
code: Code
|
||||
|
||||
message: str
|
||||
|
||||
Reference in New Issue
Block a user