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

umputun / mpt / 16816556047
88%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2025 09:46PM UTC
Jobs 1
Files 13
Run time 1min
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

07 Aug 2025 09:45PM UTC coverage: 86.402% (+0.09%) from 86.31%
16816556047

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

Jobs
ID Job ID Ran Files Coverage
1 16816556047.1 07 Aug 2025 09:46PM UTC 13
86.4
GitHub Action Run
Source Files on build 16816556047
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 955d5419 on github
  • Prev Build on master (#16816361594)
  • Next Build on master (#16817031186)
  • Delete
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