v0.6.7

songquanpeng/one-apiv0.6.7Jun 25, 2024by github-actions[bot]

AI Summary

This release focuses on adding GPT-4o support and integrating ByteDance's Doubao model. It also adds Gemini embeddings support, improves the theme system, and introduces default token generation for new users.

Key Highlights

  • Added GPT-4o model support
  • Added ByteDance Doubao model support
  • Added Gemini embeddings support
  • Added default token generation after registration
  • Added Tencent v3 API support
  • Improved theme system (Berry theme update)

New Features

  • GPT-4o model support
  • ByteDance Doubao model support
  • Gemini embeddings (text-embedding-004, embedding-001)
  • Default token generation after registration
  • Tencent v3 API support
  • Post all messages for Cloudflare
  • Spark Lite model support
  • Image model prefix handling

Full Release Notes

## What's Changed
* feat: support gpt-4o by @WqyJh in https://github.com/songquanpeng/one-api/pull/1431
* feat: berry theme update & bug fix by @MartialBE in https://github.com/songquanpeng/one-api/pull/1471
* fix: fix gpt-4o token encoding by @Kxzuir in https://github.com/songquanpeng/one-api/pull/1446
* chore: print user id when relay error happened by @ye4293 in https://github.com/songquanpeng/one-api/pull/1447
* fix: fix react-apexcharts version by @fatwang2 in https://github.com/songquanpeng/one-api/pull/1465
* fix: add prefixes to image models to solve the problem of duplicate models by @mo2g in https://github.com/songquanpeng/one-api/pull/1469
* feat: generate default token after register by @carey036 in https://github.com/songquanpeng/one-api/pull/1401
* feat: Support gemini embeddings (text-embedding-004,embedding-001) by @mxdlzg in https://github.com/songquanpeng/one-api/pull/1475
* feat: add support for bytedance's doubao  by @klb3713 in https://github.com/songquanpeng/one-api/pull/1438
* feat: post all messages for cloudflare by @fxsome in https://github.com/songquanpeng/one-api/pull/1515
* fix: xunfei interface call 4001 error by @lynnssb in https://github.com/songquanpeng/one-api/pull/1499
* fix: support for Spark Lite model by @laxtiz in https://github.com/songquanpeng/one-api/pull/1526
* fix: berry theme channel edit settings key error by @MartialBE in https://github.com/songquanpeng/one-api/pull/1496
* fix: fix default token not created in some cases by @jinjianming in https://github.com/songquanpeng/one-api/pull/1510
* fix: Gemini streaming return being truncated by FinishReason. by @mxdlzg in https://github.com/songquanpeng/one-api/pull/1477
* feat: support tencent v3 api by @lihangfu in https://github.com/songquanpeng/one-api/pull/1542
* fix: fix sparkdesk function call by @shijilin0116 in https://github.com/songquanpeng/one-api/pull/1544

## New Contributors
* @fatwang2 made their first contribution in https://github.com/songquanpeng/one-api/pull/1465
* @carey036 made their first contribution in https://github.com/songquanpeng/one-api/pull/1401
* @klb3713 made their first contribution in https://github.com/songquanpeng/one-api/pull/1438
* @fxsome made their first contribution in https://github.com/songquanpeng/one-api/pull/1515
* @lynnssb made their first contribution in https://github.com/songquanpeng/one-api/pull/1499
* @laxtiz made their first contribution in https://github.com/songquanpeng/one-api/pull/1526
* @jinjianming made their first contribution in https://github.com/songquanpeng/one-api/pull/1510
* @lihangfu made their first contribution in https://github.com/songquanpeng/one-api/pull/1542
* @shijilin0116 made their first contribution in https://github.com/songquanpeng/one-api/pull/1544

**Full Changelog**: https://github.com/songquanpeng/one-api/compare/v0.6.6...v0.6.7