feat(llm): make max_retries and base_delay configurable via constructor #130

Merged
fuzzy merged 1 commit from fix/0086-configurable-retry-params into main 2026-07-05 16:34:55 +00:00
Owner

What

Make max_retries and base_delay constructor parameters on LLMClient (with module-level defaults), replacing hardcoded module constant usage.

Why

Enables per-client configuration and improves testability.

Testing

  • 145 unit tests pass
  • Pre-commit hooks pass

Closes #86

## What Make `max_retries` and `base_delay` constructor parameters on `LLMClient` (with module-level defaults), replacing hardcoded module constant usage. ## Why Enables per-client configuration and improves testability. ## Testing - [x] 145 unit tests pass - [x] Pre-commit hooks pass Closes #86
feat(llm): make max_retries and base_delay configurable via constructor
All checks were successful
CI / test (pull_request) Successful in 51s
CI / lint (pull_request) Successful in 1m27s
58ecf4c070
Module-level constants kept as defaults. Each LLMClient instance
can now be configured independently, improving testability.
Closes #86
fuzzy force-pushed fix/0086-configurable-retry-params from 58ecf4c070
All checks were successful
CI / test (pull_request) Successful in 51s
CI / lint (pull_request) Successful in 1m27s
to efac639bae
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
2026-07-05 16:29:13 +00:00
Compare
fuzzy force-pushed fix/0086-configurable-retry-params from efac639bae
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
to bd41ff9bd1
All checks were successful
CI / test (pull_request) Successful in 49s
CI / lint (pull_request) Successful in 1m16s
2026-07-05 16:30:17 +00:00
Compare
the.auditor left a comment

Automated Review — PR #130

Result: APPROVED


Clean enhancement — max_retries and base_delay are now constructor params with module-level defaults. Instance attributes replace hardcoded constant references in the retry loop. Closes #86.

No suggestions.

## Automated Review — PR #130 **Result: APPROVED** --- Clean enhancement — `max_retries` and `base_delay` are now constructor params with module-level defaults. Instance attributes replace hardcoded constant references in the retry loop. Closes #86. No suggestions.
fuzzy merged commit bd41ff9bd1 into main 2026-07-05 16:34:55 +00:00
fuzzy deleted branch fix/0086-configurable-retry-params 2026-07-05 16:34:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai!130
No description provided.