Skip to content

Commit 43a5de1

Browse files
committed
Removed extra model defaults sprinkled throughout the repo
1 parent 8d26e24 commit 43a5de1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/paperqa/agents/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def get_year(ts: datetime | None = None) -> str:
2626

2727
async def litellm_get_search_query(
2828
question: str,
29+
llm: LLMModel | str,
2930
count: int,
3031
template: str | None = None,
31-
llm: LLMModel | str = "gpt-4o-mini",
3232
temperature: float = 1.0,
3333
) -> list[str]:
3434
search_prompt = ""

src/paperqa/agents/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def strip_answer(
6666
v.filter_content_for_user()
6767
return v
6868

69-
async def get_summary(self, llm_model: LLMModel | str = "gpt-4o") -> str:
69+
async def get_summary(self, llm_model: LLMModel | str) -> str:
7070
sys_prompt = (
7171
"Revise the answer to a question to be a concise SMS message. "
7272
"Use abbreviations or emojis if necessary."

0 commit comments

Comments
 (0)