mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -10,20 +10,20 @@ URLCitationType = Literal["url_citation",]
|
||||
|
||||
|
||||
class URLCitationTypedDict(TypedDict):
|
||||
end_index: int
|
||||
start_index: int
|
||||
title: str
|
||||
type: URLCitationType
|
||||
url: str
|
||||
title: str
|
||||
start_index: float
|
||||
end_index: float
|
||||
|
||||
|
||||
class URLCitation(BaseModel):
|
||||
type: URLCitationType
|
||||
end_index: int
|
||||
|
||||
url: str
|
||||
start_index: int
|
||||
|
||||
title: str
|
||||
|
||||
start_index: float
|
||||
type: URLCitationType
|
||||
|
||||
end_index: float
|
||||
url: str
|
||||
|
||||
Reference in New Issue
Block a user