mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.16 (#420)
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:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
52b53dd35a
commit
dfebb7ca0d
@@ -34,3 +34,4 @@ This is an open enum. Unrecognized values will not fail type checks.
|
||||
- `"empty_image_file"`
|
||||
- `"failed_to_download_image"`
|
||||
- `"image_file_not_found"`
|
||||
- `"bio_policy"`
|
||||
|
||||
@@ -12,11 +12,11 @@ Image generation tool configuration
|
||||
| `background` | [Optional[components.ImageGenerationServerToolBackground]](../components/imagegenerationservertoolbackground.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `input_fidelity` | [OptionalNullable[components.InputFidelity]](../components/inputfidelity.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `input_image_mask` | [Optional[components.InputImageMask]](../components/inputimagemask.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `model` | [Optional[components.ModelEnum]](../components/modelenum.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `model` | *Optional[str]* | :heavy_minus_sign: | N/A |
|
||||
| `moderation` | [Optional[components.Moderation]](../components/moderation.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `output_compression` | *Optional[int]* | :heavy_minus_sign: | N/A |
|
||||
| `output_format` | [Optional[components.ImageGenerationServerToolOutputFormat]](../components/imagegenerationservertooloutputformat.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `partial_images` | *Optional[int]* | :heavy_minus_sign: | N/A |
|
||||
| `quality` | [Optional[components.ImageGenerationServerToolQuality]](../components/imagegenerationservertoolquality.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `size` | [Optional[components.Size]](../components/size.mdx) | :heavy_minus_sign: | N/A |
|
||||
| `size` | *Optional[str]* | :heavy_minus_sign: | N/A |
|
||||
| `type` | [components.ImageGenerationServerToolType](../components/imagegenerationservertooltype.mdx) | :heavy_check_mark: | N/A |
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
title: "ModelEnum"
|
||||
---
|
||||
|
||||
## Example Usage
|
||||
|
||||
```python
|
||||
from openrouter.components import ModelEnum
|
||||
|
||||
# Open enum: unrecognized values are captured as UnrecognizedStr
|
||||
value: ModelEnum = "gpt-image-1"
|
||||
```
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
This is an open enum. Unrecognized values will not fail type checks.
|
||||
|
||||
- `"gpt-image-1"`
|
||||
- `"gpt-image-1-mini"`
|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
title: "Size"
|
||||
---
|
||||
|
||||
## Example Usage
|
||||
|
||||
```python
|
||||
from openrouter.components import Size
|
||||
|
||||
# Open enum: unrecognized values are captured as UnrecognizedStr
|
||||
value: Size = "1024x1024"
|
||||
```
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
This is an open enum. Unrecognized values will not fail type checks.
|
||||
|
||||
- `"1024x1024"`
|
||||
- `"1024x1536"`
|
||||
- `"1536x1024"`
|
||||
- `"auto"`
|
||||
Reference in New Issue
Block a user