mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
feat(types): add _aresponses_websocket CallType and video_tokens to PromptTokensDetailsWrapper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b518c24ff4
commit
538f11bdfa
2 changed files with 5 additions and 1 deletions
|
|
@ -16289,7 +16289,7 @@
|
|||
"cache_read_input_token_cost": 3e-08,
|
||||
"input_cost_per_audio_token": 1e-06,
|
||||
"input_cost_per_token": 3e-07,
|
||||
"litellm_provider": "vertex_ai-language-models",
|
||||
"litellm_provider": "gemini",
|
||||
"max_audio_length_hours": 8.4,
|
||||
"max_audio_per_prompt": 1,
|
||||
"supports_reasoning": false,
|
||||
|
|
|
|||
|
|
@ -291,6 +291,7 @@ class CallTypes(str, Enum):
|
|||
search = "search"
|
||||
asearch = "asearch"
|
||||
arealtime = "_arealtime"
|
||||
aresponses_websocket = "_aresponses_websocket"
|
||||
create_batch = "create_batch"
|
||||
acreate_batch = "acreate_batch"
|
||||
aretrieve_batch = "aretrieve_batch"
|
||||
|
|
@ -1398,6 +1399,9 @@ class PromptTokensDetailsWrapper(
|
|||
image_tokens: Optional[int] = None
|
||||
"""Image tokens sent to the model."""
|
||||
|
||||
video_tokens: Optional[int] = None
|
||||
"""Video tokens sent to the model."""
|
||||
|
||||
web_search_requests: Optional[int] = None
|
||||
"""Number of web search requests made by the tool call. Used for Anthropic to calculate web search cost."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue