Skip to content

Commit 95ab2ce

Browse files
committed
temp demo
1 parent 409dde2 commit 95ab2ce

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

litellm/llms/openai/responses/transformation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ def map_openai_params(
5656
drop_params: bool,
5757
) -> Dict:
5858
"""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
6062

6163
def transform_responses_api_request(
6264
self,

litellm/proxy/proxy_config.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
model_list:
2-
- model_name: fake-openai-endpoint
2+
- model_name: o4-mini
33
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

0 commit comments

Comments
 (0)