-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Closed
Copy link
Labels
Description
Please read this first
- Have you read the docs?Agents SDK docs - Yes
- Have you searched for related issues? Others may have faced similar issues. - Yes
Describe the bug
The recent upgrade to 0.40. causing errors after function_tool_call processing.
Error code: 400 - {'error': {'message': "Missing mutually exclusive parameters: 'input[17].output[0]'. Ensure you are providing exactly one of: 'file_id' or 'image_url'.", 'type': 'invalid_request_error', 'param': 'input[17].output[0]', 'code': 'missing_mutually_exclusive_parameters'}}
Debug information
- Agents SDK version: 0.4.0
- Python version 3.12
Repro steps
We are noticing after the latest upgrade of SDK response api interactions are failing after some function tool calls.
Unsure if the below item in the session is causing issue
{
"call_id": "call_z1rcE3rHla5uHQmpMwI2im2n",
"output": [
{
"type": "input_image"
}
],
"type": "function_call_output"
}Expected behavior
The SDK should not error after function call
aditya-tribe, walsha2, ettaibi, shoshana-houri, purificant and 1 more