diff --git a/libs/langchain_v1/tests/integration_tests/agents/test_response_format.py b/libs/langchain_v1/tests/integration_tests/agents/test_response_format.py index 2c8a5a401c4..db3edf6dcf6 100644 --- a/libs/langchain_v1/tests/integration_tests/agents/test_response_format.py +++ b/libs/langchain_v1/tests/integration_tests/agents/test_response_format.py @@ -26,7 +26,7 @@ def test_inference_to_native_output() -> None: model = ChatOpenAI(model="gpt-5") agent = create_agent( model, - prompt=( + system_prompt=( "You are a helpful weather assistant. Please call the get_weather tool, " "then use the WeatherReport tool to generate the final response." ), @@ -56,7 +56,7 @@ def test_inference_to_tool_output() -> None: model = ChatOpenAI(model="gpt-4") agent = create_agent( model, - prompt=( + system_prompt=( "You are a helpful weather assistant. Please call the get_weather tool, " "then use the WeatherReport tool to generate the final response." ),