mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -12,25 +12,25 @@ RefusalDeltaEventType = Literal["response.refusal.delta",]
|
||||
class RefusalDeltaEventTypedDict(TypedDict):
|
||||
r"""Event emitted when a refusal delta is streamed"""
|
||||
|
||||
type: RefusalDeltaEventType
|
||||
output_index: float
|
||||
item_id: str
|
||||
content_index: float
|
||||
content_index: int
|
||||
delta: str
|
||||
sequence_number: float
|
||||
item_id: str
|
||||
output_index: int
|
||||
sequence_number: int
|
||||
type: RefusalDeltaEventType
|
||||
|
||||
|
||||
class RefusalDeltaEvent(BaseModel):
|
||||
r"""Event emitted when a refusal delta is streamed"""
|
||||
|
||||
type: RefusalDeltaEventType
|
||||
|
||||
output_index: float
|
||||
|
||||
item_id: str
|
||||
|
||||
content_index: float
|
||||
content_index: int
|
||||
|
||||
delta: str
|
||||
|
||||
sequence_number: float
|
||||
item_id: str
|
||||
|
||||
output_index: int
|
||||
|
||||
sequence_number: int
|
||||
|
||||
type: RefusalDeltaEventType
|
||||
|
||||
Reference in New Issue
Block a user