fix(langchain): use system_prompt in integration tests (#33748)

This commit is contained in:
Mason Daugherty
2025-10-30 16:05:57 -04:00
committed by GitHub
parent 75fff151e8
commit 91f7e73c27

View File

@@ -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."
),