mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
29 lines
914 B
Python
29 lines
914 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .pdfparseroptions import PDFParserOptions, PDFParserOptionsTypedDict
|
|
from openrouter.types import BaseModel
|
|
from typing import Literal, Optional
|
|
from typing_extensions import NotRequired, TypedDict
|
|
|
|
|
|
FileParserPluginID = Literal["file-parser",]
|
|
|
|
|
|
class FileParserPluginTypedDict(TypedDict):
|
|
id: FileParserPluginID
|
|
enabled: NotRequired[bool]
|
|
r"""Set to false to disable the file-parser plugin for this request. Defaults to true."""
|
|
pdf: NotRequired[PDFParserOptionsTypedDict]
|
|
r"""Options for PDF parsing."""
|
|
|
|
|
|
class FileParserPlugin(BaseModel):
|
|
id: FileParserPluginID
|
|
|
|
enabled: Optional[bool] = None
|
|
r"""Set to false to disable the file-parser plugin for this request. Defaults to true."""
|
|
|
|
pdf: Optional[PDFParserOptions] = None
|
|
r"""Options for PDF parsing."""
|