mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
init acompact_responses
This commit is contained in:
parent
fab4199bee
commit
a10fee0cef
2 changed files with 4 additions and 0 deletions
|
|
@ -319,6 +319,7 @@ class ProxyBaseLLMRequestProcessing:
|
|||
"aget_responses",
|
||||
"adelete_responses",
|
||||
"acancel_responses",
|
||||
"acompact_responses",
|
||||
"acreate_batch",
|
||||
"aretrieve_batch",
|
||||
"alist_batches",
|
||||
|
|
@ -457,6 +458,7 @@ class ProxyBaseLLMRequestProcessing:
|
|||
"aget_responses",
|
||||
"adelete_responses",
|
||||
"acancel_responses",
|
||||
"acompact_responses",
|
||||
"atext_completion",
|
||||
"aimage_edit",
|
||||
"alist_input_items",
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ ROUTE_ENDPOINT_MAPPING = {
|
|||
"alist_input_items": "/responses/{response_id}/input_items",
|
||||
"aimage_edit": "/images/edits",
|
||||
"acancel_responses": "/responses/{response_id}/cancel",
|
||||
"acompact_responses": "/responses/compact",
|
||||
"aocr": "/ocr",
|
||||
"asearch": "/search",
|
||||
"avideo_generation": "/videos",
|
||||
|
|
@ -116,6 +117,7 @@ async def route_request(
|
|||
"aget_responses",
|
||||
"adelete_responses",
|
||||
"acancel_responses",
|
||||
"acompact_responses",
|
||||
"acreate_response_reply",
|
||||
"alist_input_items",
|
||||
"_arealtime", # private function for realtime API
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue