Compare commits

...

1 commit

Author SHA1 Message Date
Ishaan Jaff
95ab2cee61 temp demo 2025-04-17 18:39:19 -07:00
2 changed files with 9 additions and 5 deletions

View file

@ -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,

View file

@ -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