File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ def map_openai_params(
56
56
drop_params : bool ,
57
57
) -> Dict :
58
58
"""No mapping applied since inputs are in OpenAI spec already"""
59
- return dict (response_api_optional_params )
59
+ temp = dict (response_api_optional_params )
60
+ temp .pop ("reasoning" )
61
+ return temp
60
62
61
63
def transform_responses_api_request (
62
64
self ,
Original file line number Diff line number Diff line change 1
1
model_list :
2
- - model_name : fake-openai-endpoint
2
+ - model_name : o4-mini
3
3
litellm_params :
4
- model : openai/fake
5
- api_key : fake-key
6
- api_base : https://exampleopenaiendpoint-production.up.railway.app/
4
+ model : azure/computer-use-preview
5
+ truncation : auto
6
+ api_base : os.environ/AZURE_RESPONSES_OPENAI_ENDPOINT
7
+ api_key : os.environ/AZURE_RESPONSES_OPENAI_API_KEY
8
+ api_version : os.environ/AZURE_RESPONSES_OPENAI_API_VERSION
You can’t perform that action at this time.
0 commit comments