• 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.0
branch: refs/tags/v0.14.0
CHANGE BRANCH
x
Reset
Sync Branches
  • refs/tags/v0.14.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-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.1
  • refs/tags/v0.14.2
  • 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

31 Oct 2025 10:27PM UTC coverage: 88.059% (-0.2%) from 88.264%
18986734831

push

github

web-flow
Add GPT-5 support with dual endpoint implementation (#31)

* feat: add GPT-5 support with v1/responses endpoint

Implement native support for GPT-5 models by adding v1/responses endpoint handling alongside existing v1/chat/completions support.

Key changes:
- Add dual endpoint support (v1/responses for GPT-5, v1/chat/completions for other models)
- Auto-detect endpoint based on model name or allow manual forcing via EndpointType
- Add configurable BaseURL field for custom OpenAI-compatible providers
- Eliminate go-openai dependency by implementing direct HTTP client
- Refactor CustomOpenAI to wrap OpenAI provider instead of using external library

Fixes:
- Fix temperature=0 bug where zero temperature was being dropped (changed to *float32 pointer)
- Make API key optional for custom providers that don't require authentication
- Update integration test paths from /chat/completions to /v1/chat/completions

Benefits:
- Unified codebase for all OpenAI-compatible providers
- Full control over request/response handling
- Better testability with direct HTTP mocking
- Smaller binary (removed external dependency)
- Support for both GPT-5 and GPT-4 models

Test coverage: 80.3% (improved from 79.6%)
All tests pass with race detector enabled

* chore: update dependencies and regenerate vendor

Update all outdated dependencies to latest versions:
- anthropic-sdk-go: v1.13.0 => v1.16.0
- mcp-go: v0.41.1 => v0.42.0
- google.golang.org/genai: v1.28.0 => v1.33.0
- google.golang.org/grpc: v1.75.1 => v1.76.0
- golang.org/x/crypto: v0.42.0 => v0.43.0
- golang.org/x/net: v0.44.0 => v0.46.0
- golang.org/x/sys: v0.36.0 => v0.37.0
- golang.org/x/text: v0.29.0 => v0.30.0

Regenerated vendor directory with updated dependencies.
All tests pass successfully.

* feat(custom): add endpoint-type configuration for custom providers

add endpoint-type option to allow custom OpenAI-compatible providers
to specify which API endpoint to use (auto, responses, chat_completions).
this enable... (continued)

236 of 270 new or added lines in 4 files covered. (87.41%)

2286 of 2596 relevant lines covered (88.06%)

34.54 hits per line

Relevant lines Covered
Build:
Build:
2596 RELEVANT LINES 2286 COVERED LINES
34.54 HITS PER LINE
Source Files on refs/tags/v0.14.0
  • Tree
  • List 17
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18986734831 refs/tags/v0.14.0 Add GPT-5 support with dual endpoint implementation (#31) * feat: add GPT-5 support with v1/responses endpoint Implement native support for GPT-5 models by adding v1/responses endpoint handling alongside existing v1/chat/completions support. Ke... push 31 Oct 2025 10:31PM UTC web-flow github
88.06
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