Skip to content

Commit

Permalink
Fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
20001LastOrder committed May 6, 2024
1 parent deb86b0 commit 052ad15
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,14 @@ def test_entity_citation_succeeds_in_qa(
llm = get_llm(
__file__, test_entity_citation_succeeds_in_qa.__name__ + f"_{str(test_id)}"
)
data = input_data[0]

shared_memory = SharedMemory(
objective=objective,
agent_pool=None,
)

entity_validation = EntityValidation()
with patch.object(SearchTool, "_run", return_value=data):
with patch.object(SearchTool, "_run", return_value=input_data):
task_agent = QAAgent(
llm=llm,
shared_memory=shared_memory,
Expand Down

0 comments on commit 052ad15

Please sign in to comment.