mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
[Feat] Add GET, DELETE Responses endpoints on LiteLLM Proxy (#10297)
* add GET responses endpoints on router * add GET responses endpoints on router * add GET responses endpoints on router * add DELETE responses endpoints on proxy * fixes for testing GET, DELETE endpoints * test_basic_responses api e2e
This commit is contained in:
parent
0a2c964db7
commit
5de101ab7b
8 changed files with 182 additions and 20 deletions
|
@ -108,7 +108,13 @@ class ProxyBaseLLMRequestProcessing:
|
|||
user_api_key_dict: UserAPIKeyAuth,
|
||||
proxy_logging_obj: ProxyLogging,
|
||||
proxy_config: ProxyConfig,
|
||||
route_type: Literal["acompletion", "aresponses", "_arealtime"],
|
||||
route_type: Literal[
|
||||
"acompletion",
|
||||
"aresponses",
|
||||
"_arealtime",
|
||||
"aget_responses",
|
||||
"adelete_responses",
|
||||
],
|
||||
version: Optional[str] = None,
|
||||
user_model: Optional[str] = None,
|
||||
user_temperature: Optional[float] = None,
|
||||
|
@ -178,7 +184,13 @@ class ProxyBaseLLMRequestProcessing:
|
|||
request: Request,
|
||||
fastapi_response: Response,
|
||||
user_api_key_dict: UserAPIKeyAuth,
|
||||
route_type: Literal["acompletion", "aresponses", "_arealtime"],
|
||||
route_type: Literal[
|
||||
"acompletion",
|
||||
"aresponses",
|
||||
"_arealtime",
|
||||
"aget_responses",
|
||||
"adelete_responses",
|
||||
],
|
||||
proxy_logging_obj: ProxyLogging,
|
||||
general_settings: dict,
|
||||
proxy_config: ProxyConfig,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue