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

umputun / mpt
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.14.3
DEFAULT BRANCH: master
Repo Added 03 Apr 2025 05:44AM UTC
Token kVBRNXkTsMZagy8JKouRwPmlc3O5gJ66h regen
Build 189 Last
Files 17
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.14.2
branch: refs/tags/v0.14.2
CHANGE BRANCH
x
Reset
Sync Branches
  • refs/tags/v0.14.2
  • 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-gpt5-support
  • 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.0
  • 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.13.0
  • refs/tags/v0.14.0
  • refs/tags/v0.14.1
  • refs/tags/v0.14.3
  • 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

01 Nov 2025 01:10AM UTC coverage: 88.167% (+0.1%) from 88.059%
18989056683

push

github

umputun
fix(provider): add HTTP status code validation for non-JSON error responses

add validation to detect and properly handle non-JSON HTTP error responses
(e.g., HTML error pages from proxies, cloudflare errors). the fix checks
if non-2xx responses contain JSON before passing to error parsers.

- preserve existing behavior for JSON error responses from OpenAI API
- return immediate error with status code for HTML/text error responses
- add test case for non-JSON error handling (502 bad gateway)

this prevents cryptic parsing errors when encountering proxy or gateway errors.

7 of 7 new or added lines in 1 file covered. (100.0%)

2295 of 2603 relevant lines covered (88.17%)

34.67 hits per line

Relevant lines Covered
Build:
Build:
2603 RELEVANT LINES 2295 COVERED LINES
34.67 HITS PER LINE
Source Files on refs/tags/v0.14.2
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18989056683 refs/tags/v0.14.2 fix(provider): add HTTP status code validation for non-JSON error responses add validation to detect and properly handle non-JSON HTTP error responses (e.g., HTML error pages from proxies, cloudflare errors). the fix checks if non-2xx responses c... push 01 Nov 2025 01:13AM UTC umputun github
88.17
See All Builds (167)

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