Skip to content
Merged
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
Prev Previous commit
Next Next commit
propagate help_message
  • Loading branch information
sidnarayanan committed Sep 24, 2025
commit 45da950d39f4bbd7ad59a766f1c136d535f1eaec
4 changes: 2 additions & 2 deletions src/paperqa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class LLMBadContextJSONError(LLMContextError):
"""Retryable exception for when the LLM gives back bad JSON."""

retryable = True
error_log = (
help_message = (
"Abandoning this context creation."
" Your model may not be capable of supporting JSON output"
" or our parsing technique could use some work. Try"
Expand All @@ -151,7 +151,7 @@ class LLMContextTimeoutError(LLMContextError):
"""Non-retryable exception for when the LLM call times out."""

retryable = False
error_log = (
help_message = (
"Timeout when creating a context, abandoning it."
" If you see this error frequently, consider increasing the timeout in"
" Settings(summary_llm_config=...). Or, feel free to just ignore this message,"
Expand Down