Skip to content

Commit

Permalink
fix test on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
evpearce committed Dec 18, 2024
1 parent f3b5eda commit 103e029
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/tests/llm/openai_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ async def test_chat_with_file_removes_citations(mock_async_openai):
model="",
user_prompt="",
system_prompt="",
files=[
LLMFile("file_name", Path("./library/AstraZeneca-Sustainability-Report-2023.pdf"))
], # This path only works if you run this test from the backend folder
files=[LLMFile("file_name", Path("./backend/library/AstraZeneca-Sustainability-Report-2023.pdf"))],
)
assert response == "Response with quote"

0 comments on commit 103e029

Please sign in to comment.