Skip to content

Commit 8841631

Browse files
committed
Update patch path
1 parent 5f3e83d commit 8841631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/morpheus_llm/llm/test_agents_simple_pipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_agents_simple_pipe_integration_openai(config: Config, questions: list[s
129129

130130
@pytest.mark.usefixtures("openai", "restore_environ")
131131
@mock.patch("langchain_community.utilities.serpapi.SerpAPIWrapper.aresults")
132-
@mock.patch("langchain_community.llms.OpenAI._agenerate",
132+
@mock.patch("langchain_openai.OpenAI._agenerate",
133133
autospec=True) # autospec is needed as langchain will inspect the function
134134
def test_agents_simple_pipe(mock_openai_agenerate: mock.AsyncMock,
135135
mock_serpapi_aresults: mock.AsyncMock,

0 commit comments

Comments
 (0)