@@ -1206,7 +1206,7 @@ def simple_test_tool(message: str) -> str:
12061206 model = OpenAIResponsesModel (model = "gpt-4" , openai_client = client )
12071207 agent_with_tool = test_agent .clone (tools = [simple_test_tool ], model = model )
12081208
1209- tool_call_response = get_model_response (
1209+ tool_response = get_model_response (
12101210 Response (
12111211 id = "resp_tool_123" ,
12121212 output = [
@@ -1279,7 +1279,7 @@ def simple_test_tool(message: str) -> str:
12791279 with patch .object (
12801280 agent_with_tool .model ._client ._client ,
12811281 "send" ,
1282- side_effect = [tool_call_response , final_response ],
1282+ side_effect = [tool_response , final_response ],
12831283 ) as _ :
12841284 sentry_init (
12851285 integrations = [OpenAIAgentsIntegration ()],
@@ -1972,7 +1972,7 @@ async def test_mcp_tool_execution_with_error(
19721972 model = OpenAIResponsesModel (model = "gpt-4" , openai_client = client )
19731973 agent = test_agent .clone (model = model )
19741974
1975- mcp_call_with_error_response = get_model_response (
1975+ mcp_response = get_model_response (
19761976 Response (
19771977 id = "resp_mcp_123" ,
19781978 output = [
@@ -2047,7 +2047,7 @@ async def test_mcp_tool_execution_with_error(
20472047 with patch .object (
20482048 agent .model ._client ._client ,
20492049 "send" ,
2050- side_effect = [mcp_call_with_error_response , final_response ],
2050+ side_effect = [mcp_response , final_response ],
20512051 ) as _ :
20522052 sentry_init (
20532053 integrations = [OpenAIAgentsIntegration ()],
0 commit comments