• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / mpt
86%
master: 87%

Build:
Build:
LAST BUILD BRANCH: feature/multiple-custom-providers
DEFAULT BRANCH: master
Repo Added 03 Apr 2025 05:44AM UTC
Token kVBRNXkTsMZagy8JKouRwPmlc3O5gJ66h regen
Build 168 Last
Files 16
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refs/tags/v0.11.0
branch: refs/tags/v0.11.0
CHANGE BRANCH
x
Reset
Sync Branches
  • refs/tags/v0.11.0
  • add-claude-github-actions-1754418829365
  • consensus-feature
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/go_modules/github.com/fatih/color-1.18.0
  • dependabot/go_modules/github.com/go-pkgz/lgr-0.12.0
  • dependabot/go_modules/github.com/google/generative-ai-go-0.19.0
  • dependabot/go_modules/github.com/jessevdk/go-flags-1.6.1
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.20.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.20.1
  • dependabot/go_modules/github.com/sashabaranov/go-openai-1.38.1
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/golang.org/x/crypto-0.31.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/google.golang.org/api-0.228.0
  • dependabot/go_modules/google.golang.org/api-0.229.0
  • feature/add-mcp-support
  • feature/auto-branch-diff
  • feature/force-flag-and-build-exclusion-fix
  • feature/human-friendly-size-values
  • feature/improve-gitignore-handling
  • feature/mix-command
  • feature/multiple-custom-providers
  • git-integration
  • implement-todo-improvements
  • master
  • paskal/dependabot-disable-updates
  • refactor-code-structure
  • refactor/provider-initialization
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.1.2
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.2
  • refs/tags/v0.11.1
  • refs/tags/v0.11.2
  • refs/tags/v0.11.3
  • refs/tags/v0.12.0
  • refs/tags/v0.12.1
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.3.0
  • refs/tags/v0.3.2
  • refs/tags/v0.3.3
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.5.1
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2
  • refs/tags/v0.9.3

07 Aug 2025 09:34PM UTC coverage: 86.31%. First build
16816386577

push

github

umputun
feat: add automatic retry mechanism for transient provider failures

Implemented configurable retry logic with exponential backoff to handle
transient failures from AI providers. The retry mechanism automatically
retries on network errors, rate limits, and temporary server issues while
avoiding retries on permanent errors like authentication or invalid requests.

- Added RetryableProvider wrapper with thread-safe retry logic
- Integrated go-pkgz/repeater for robust backoff strategies
- Added --retry.max-attempts CLI flag (default: 3)
- Smart error classification to determine retryable vs permanent failures
- Comprehensive test coverage for retry scenarios
- Updated README with retry configuration documentation

The retry logic is transparent to existing code and only activates when
retry.max-attempts is greater than 1. This improves reliability when
dealing with API rate limits or temporary network issues.

135 of 150 new or added lines in 2 files covered. (90.0%)

1532 of 1775 relevant lines covered (86.31%)

22.88 hits per line

Relevant lines Covered
Build:
Build:
1775 RELEVANT LINES 1532 COVERED LINES
22.88 HITS PER LINE
Source Files on refs/tags/v0.11.0
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16816386577 refs/tags/v0.11.0 feat: add automatic retry mechanism for transient provider failures Implemented configurable retry logic with exponential backoff to handle transient failures from AI providers. The retry mechanism automatically retries on network errors, rate li... push 07 Aug 2025 09:37PM UTC umputun github
86.31
See All Builds (146)

Badge your Repo: mpt

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc