mirror of
https://github.com/hwchase17/langchain.git
synced 2026-07-13 20:47:15 +00:00
fix(langchain): use system_prompt in integration tests (#33748)
This commit is contained in:
@@ -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."
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user