fix: add overlay to remove nullable from pagination offset params (#121)

This commit is contained in:
Matt Apperson
2026-04-14 12:48:15 -04:00
committed by GitHub
parent 2bba049182
commit b2386114cd
440 changed files with 36150 additions and 32168 deletions
+28 -28
View File
@@ -7,60 +7,60 @@ from typing_extensions import Annotated, TypedDict
class ActivityItemTypedDict(TypedDict):
byok_usage_inference: float
r"""BYOK inference cost in USD (external credits spent)"""
completion_tokens: int
r"""Total completion tokens generated"""
date_: str
r"""Date of the activity (YYYY-MM-DD format)"""
endpoint_id: str
r"""Unique identifier for the endpoint"""
model: str
r"""Model slug (e.g., \"openai/gpt-4.1\")"""
model_permaslug: str
r"""Model permaslug (e.g., \"openai/gpt-4.1-2025-04-14\")"""
endpoint_id: str
r"""Unique identifier for the endpoint"""
prompt_tokens: int
r"""Total prompt tokens used"""
provider_name: str
r"""Name of the provider serving this endpoint"""
reasoning_tokens: int
r"""Total reasoning tokens used"""
requests: int
r"""Number of requests made"""
usage: float
r"""Total cost in USD (OpenRouter credits spent)"""
byok_usage_inference: float
r"""BYOK inference cost in USD (external credits spent)"""
requests: float
r"""Number of requests made"""
prompt_tokens: float
r"""Total prompt tokens used"""
completion_tokens: float
r"""Total completion tokens generated"""
reasoning_tokens: float
r"""Total reasoning tokens used"""
class ActivityItem(BaseModel):
byok_usage_inference: float
r"""BYOK inference cost in USD (external credits spent)"""
completion_tokens: int
r"""Total completion tokens generated"""
date_: Annotated[str, pydantic.Field(alias="date")]
r"""Date of the activity (YYYY-MM-DD format)"""
endpoint_id: str
r"""Unique identifier for the endpoint"""
model: str
r"""Model slug (e.g., \"openai/gpt-4.1\")"""
model_permaslug: str
r"""Model permaslug (e.g., \"openai/gpt-4.1-2025-04-14\")"""
endpoint_id: str
r"""Unique identifier for the endpoint"""
prompt_tokens: int
r"""Total prompt tokens used"""
provider_name: str
r"""Name of the provider serving this endpoint"""
usage: float
r"""Total cost in USD (OpenRouter credits spent)"""
reasoning_tokens: int
r"""Total reasoning tokens used"""
byok_usage_inference: float
r"""BYOK inference cost in USD (external credits spent)"""
requests: float
requests: int
r"""Number of requests made"""
prompt_tokens: float
r"""Total prompt tokens used"""
completion_tokens: float
r"""Total completion tokens generated"""
reasoning_tokens: float
r"""Total reasoning tokens used"""
usage: float
r"""Total cost in USD (OpenRouter credits spent)"""