mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
chore: update OpenAPI spec from monorepo (#409)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
05e372cf53
commit
1da6f0d903
@@ -9829,6 +9829,35 @@ components:
|
||||
- type
|
||||
- error
|
||||
type: object
|
||||
ImageGenTextChunkEvent:
|
||||
description: Emitted when a text chunk becomes available during streaming generation of text-based formats (e.g. SVG)
|
||||
example:
|
||||
phase: content
|
||||
text: <svg xmlns="http://www.w3.org/2000/svg">
|
||||
type: image_generation.text_chunk
|
||||
properties:
|
||||
phase:
|
||||
description: >-
|
||||
The generation phase this chunk belongs to. `content` is the renderable output; `reasoning` and `draft` are
|
||||
intermediate provider phases.
|
||||
enum:
|
||||
- content
|
||||
- reasoning
|
||||
- draft
|
||||
type: string
|
||||
text:
|
||||
description: A text fragment of the image being generated (e.g. partial SVG markup)
|
||||
type: string
|
||||
type:
|
||||
description: The event type
|
||||
enum:
|
||||
- image_generation.text_chunk
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- text
|
||||
- phase
|
||||
type: object
|
||||
ImageModelArchitecture:
|
||||
example:
|
||||
input_modalities:
|
||||
@@ -10032,6 +10061,7 @@ components:
|
||||
data:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/ImageGenPartialImageEvent'
|
||||
- $ref: '#/components/schemas/ImageGenTextChunkEvent'
|
||||
- $ref: '#/components/schemas/ImageGenCompletedEvent'
|
||||
- $ref: '#/components/schemas/ImageGenStreamErrorEvent'
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user