Skip to content

Commit

Permalink
[Fix] checks
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnashed committed Jul 29, 2024
1 parent ae25955 commit 0188516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/agentchat/contrib/test_agent_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_build_assistant_with_function_calling():
assert len(agent_config["agent_configs"]) <= builder.max_agents

# Mock the 'ask_ossinsight' function in the '_main_' module using a context manager.
with patch("test.agentchat.contrib.test_agent_builder.ask_ossinsight") as mocked_function:
with patch("_main_.ask_ossinsight") as mocked_function:
# Execute 'start_task' which should trigger 'ask_ossinsight' due to the given execution task.
start_task(
execution_task="How many stars microsoft/autogen has on GitHub?",
Expand Down

0 comments on commit 0188516

Please sign in to comment.