configuration of software tools - chunhualiao/public-docs GitHub Wiki
To allow easy global configuration of the LLM query timeout:
- Add a CLI argument (e.g., --llm-timeout=N) that sets the global timeout for all LLM interactions.
- Optionally support an environment variable (e.g., COMMENT_CHECKER_LLM_TIMEOUT) as a secondary mechanism.
- Set a single global default (e.g., 30s) if neither CLI nor env var is specified.
- Pass this timeout to all llm_.query() invocations instead of hardcoded values.
- Update the README with this new configuration option and its precedence order.