mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
temp demo
This commit is contained in:
parent
409dde22f6
commit
95ab2cee61
2 changed files with 9 additions and 5 deletions
|
@ -56,7 +56,9 @@ class OpenAIResponsesAPIConfig(BaseResponsesAPIConfig):
|
|||
drop_params: bool,
|
||||
) -> Dict:
|
||||
"""No mapping applied since inputs are in OpenAI spec already"""
|
||||
return dict(response_api_optional_params)
|
||||
temp = dict(response_api_optional_params)
|
||||
temp.pop("reasoning")
|
||||
return temp
|
||||
|
||||
def transform_responses_api_request(
|
||||
self,
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
model_list:
|
||||
- model_name: fake-openai-endpoint
|
||||
- model_name: o4-mini
|
||||
litellm_params:
|
||||
model: openai/fake
|
||||
api_key: fake-key
|
||||
api_base: https://exampleopenaiendpoint-production.up.railway.app/
|
||||
model: azure/computer-use-preview
|
||||
truncation: auto
|
||||
api_base: os.environ/AZURE_RESPONSES_OPENAI_ENDPOINT
|
||||
api_key: os.environ/AZURE_RESPONSES_OPENAI_API_KEY
|
||||
api_version: os.environ/AZURE_RESPONSES_OPENAI_API_VERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue