mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -14,19 +14,19 @@ OutputItemImageGenerationCallType = Literal["image_generation_call",]
|
||||
|
||||
|
||||
class OutputItemImageGenerationCallTypedDict(TypedDict):
|
||||
type: OutputItemImageGenerationCallType
|
||||
id: str
|
||||
status: ImageGenerationStatus
|
||||
type: OutputItemImageGenerationCallType
|
||||
result: NotRequired[Nullable[str]]
|
||||
|
||||
|
||||
class OutputItemImageGenerationCall(BaseModel):
|
||||
type: OutputItemImageGenerationCallType
|
||||
|
||||
id: str
|
||||
|
||||
status: Annotated[ImageGenerationStatus, PlainValidator(validate_open_enum(False))]
|
||||
|
||||
type: OutputItemImageGenerationCallType
|
||||
|
||||
result: OptionalNullable[str] = None
|
||||
|
||||
@model_serializer(mode="wrap")
|
||||
|
||||
Reference in New Issue
Block a user