We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c3226a commit 6793334Copy full SHA for 6793334
backend/tests/unit/onyx/chat/test_answer.py
@@ -326,9 +326,11 @@ def test_answer_with_search_no_tool_calling(
326
user_message = (
327
answer_instance.graph_inputs.prompt_builder.get_user_message_content()
328
)
329
+
330
+ prev_messages = answer_instance.graph_inputs.prompt_builder.get_message_history()
331
# Verify that get_args_for_non_tool_calling_llm was called on the mock_search_tool
332
mock_search_tool.get_args_for_non_tool_calling_llm.assert_called_once_with(
- user_message, [], answer_instance.graph_config.tooling.primary_llm
333
+ user_message, prev_messages, answer_instance.graph_config.tooling.primary_llm
334
335
336
# Verify that the search tool's run method was called
0 commit comments