Skip to content

Comments

Increase timeout to 3m for FactChecker Agent#118

Merged
alexheifetz merged 1 commit intomainfrom
llm-timout
Feb 20, 2026
Merged

Increase timeout to 3m for FactChecker Agent#118
alexheifetz merged 1 commit intomainfrom
llm-timout

Conversation

@alexheifetz
Copy link
Contributor

This pull request updates the fact-checking logic to improve reliability when interacting with large language models (LLMs) by adding explicit timeout settings to LLM calls. The most important changes are:

LLM Timeout Handling:

  • All LLM invocations in FactChecker.java now include a timeout of 3 minutes to prevent long-running or hanging requests. This is applied both when checking individual factual assertions and during the deduplication step. [1] [2]

Dependency Imports:

  • Added the import for java.time.Duration to support the new timeout configuration.

@alexheifetz alexheifetz merged commit e6e20a5 into main Feb 20, 2026
2 checks passed
@alexheifetz alexheifetz deleted the llm-timout branch February 20, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant