Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Removed extra model defaults sprinkled throughout the repo
  • Loading branch information
jamesbraza committed Oct 27, 2025
commit f434228e29f620a5ecc912f93c48bde1469c88c5
2 changes: 1 addition & 1 deletion src/paperqa/agents/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def get_year(ts: datetime | None = None) -> str:

async def litellm_get_search_query(
question: str,
llm: LLMModel | str,
count: int,
template: str | None = None,
llm: LLMModel | str = "gpt-4o-mini",
temperature: float = 1.0,
) -> list[str]:
search_prompt = ""
Expand Down
2 changes: 1 addition & 1 deletion src/paperqa/agents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def strip_answer(
v.filter_content_for_user()
return v

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