Skip to content
Merged
Prev Previous commit
Next Next commit
Removed duplicate 'is is' from questions
  • Loading branch information
jamesbraza committed Oct 20, 2025
commit 9f5daa0e4efcfd4d6e7b414a918000e7a1110fbf
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def agent_stub_session() -> PQASession:
# > are already imported: paperqa
from paperqa.types import PQASession

return PQASession(question="What is is a self-explanatory model?")
return PQASession(question="What is a self-explanatory model?")


@pytest.fixture
Expand Down
4 changes: 2 additions & 2 deletions tests/test_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ async def test_propagate_options(agent_test_settings: Settings) -> None:
agent_test_settings.answer.evidence_skip_summary = True

response = await agent_query(
query="What is is a self-explanatory model?",
query="What is a self-explanatory model?",
settings=agent_test_settings,
agent_type=FAKE_AGENT_TYPE,
)
Expand Down Expand Up @@ -622,7 +622,7 @@ def files_filter(f) -> bool:

agent_test_settings.agent.callbacks = callbacks

session = PQASession(question="What is is a self-explanatory model?")
session = PQASession(question="What is a self-explanatory model?")
env_state = EnvironmentState(docs=Docs(), session=session)
built_index = await get_directory_index(settings=agent_test_settings)
assert await built_index.count, "Index build did not work"
Expand Down