• 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.1
branch: refs/tags/v0.11.1
CHANGE BRANCH
x
Reset
Sync Branches
  • refs/tags/v0.11.1
  • 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.0
  • 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:45PM UTC coverage: 86.402% (+0.09%) from 86.31%
16816587282

push

github

umputun
feat: add support for OpenAI reasoning models and GPT-5

Updated OpenAI provider to handle new API requirements for reasoning models
(o1, o3, o4 series) and GPT-5 which use MaxCompletionTokens instead of
MaxTokens and only support temperature=1.

- Detect reasoning models and GPT-5 by model name prefix
- Use MaxCompletionTokens for these models instead of MaxTokens
- Skip temperature parameter for reasoning models (uses default value of 1)
- Update go-openai SDK from v1.38.1 to v1.40.5 for new API support
- Maintain backward compatibility with existing models like gpt-4o

This enables mpt to work with OpenAI reasoning models (o1-mini, o1-preview)
and prepares for future GPT-5 compatibility.

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

1544 of 1787 relevant lines covered (86.4%)

22.83 hits per line

Relevant lines Covered
Build:
Build:
1787 RELEVANT LINES 1544 COVERED LINES
22.83 HITS PER LINE
Source Files on refs/tags/v0.11.1
  • Tree
  • List 13
  • 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
16816587282 refs/tags/v0.11.1 feat: add support for OpenAI reasoning models and GPT-5 Updated OpenAI provider to handle new API requirements for reasoning models (o1, o3, o4 series) and GPT-5 which use MaxCompletionTokens instead of MaxTokens and only support temperature=1. ... push 07 Aug 2025 09:48PM UTC umputun github
86.4
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