Commit Graph

1292 Commits

Author SHA1 Message Date
Laisky.Cai
bd9372d759 docs: update README to improve clarity and remove outdated menu section 2025-01-23 03:35:22 +00:00
Laisky.Cai
531f832d1e refactor: update variable names and improve code readability; add Makefile for linting and installation 2025-01-23 03:32:41 +00:00
Laisky.Cai
81153f764b docs: update README to include support for deepseek-reasoner & gemini-2.0-flash-thinking-exp-01-21 2025-01-22 09:45:13 +00:00
Laisky.Cai
66d4936241 feat: add MILLI_USD constant and update pricing for deepseek services 2025-01-22 09:39:25 +00:00
Laisky.Cai
bc0c8090ef Merge branch 'main' into pr/Laisky/26 2025-01-22 03:37:03 +00:00
Laisky.Cai
a9310deb65 feat: add support for new Gemini model version 'gemini-2.0-flash-thinking-exp-01-21' 2025-01-22 03:27:22 +00:00
zicorn
5199639d8c [update]两阶段编译代码 2025-01-20 14:14:38 +08:00
Laisky.Cai
13b1b165bd refactor: update UI text and error messages to English for better accessibility 2025-01-19 12:59:58 +00:00
Laisky.Cai
76ba80d406 docs: add note about high-quota users accumulating token debts 2025-01-17 07:48:39 +00:00
Laisky.Cai
21041ec7ac Merge branch 'main' into pr/Laisky/25 2025-01-17 07:45:29 +00:00
Laisky.Cai
2249917c1a Merge branch 'main' into pr/Laisky/24 2025-01-17 02:56:35 +00:00
Laisky.Cai
bd9cee9c5c Merge branch 'main' into pr/Laisky/23 2025-01-17 02:52:43 +00:00
zicorn
54c6e6ade4 [bugfix]修复copy问题 2025-01-16 21:40:17 +08:00
Laisky.Cai
c410b1376f refactor: update issue templates to improve clarity and consistency 2025-01-15 04:02:14 +00:00
Laisky.Cai
19fda46f4b tests: add ffmpeg installation step to lint workflow 2025-01-15 01:02:42 +00:00
Laisky.Cai
2cdc27475f feat: add support for berry build in Dockerfile 2025-01-15 00:52:32 +00:00
Laisky.Cai
bdb695895f fix: enhance token usage calculations and improve logging in OpenAI handler 2025-01-14 13:37:00 +00:00
Laisky.Cai
40be30e36f docs: update README to include support for gpt-4o-audio 2025-01-14 06:48:04 +00:00
Laisky.Cai
9730ac3bb5 feat: support gpt-4o-audio 2025-01-14 06:38:07 +00:00
Laisky.Cai
b5c55a03cf docs: update README to include support for Vertex Imagen3 2025-01-12 04:24:12 +00:00
Laisky.Cai
feacea0321 feat: support vertex imagen3 2025-01-12 04:18:57 +00:00
Laisky.Cai
bfe28fc1f8 fix: update README links and clean up GetAudioDuration function 2025-01-08 05:07:52 +00:00
Laisky.Cai
e17017eb4a fix: implement audio duration retrieval and add tests 2025-01-08 03:55:02 +00:00
Laisky.Cai
c1a0471e73 feat: add audio processing helper functions and update Dockerfile
inspired by https://github.com/Laisky/one-api/pull/21
2025-01-08 02:35:38 +00:00
Laisky.Cai
ddcd1295ff
Merge pull request #20 from mxdlzg/system_instruction_feature
System instruction feature
2025-01-06 16:12:26 +08:00
Laisky.Cai
73a928f970 fix: update comments for o1 model handling 2025-01-05 02:42:37 +00:00
Laisky.Cai
d70d5656ab Merge branch 'upstream/main' 2024-12-30 01:24:28 +00:00
JustSong
3915ce9814 chore: update ci yaml
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-12-27 22:01:37 +08:00
JustSong
999defc88b chore: update readme 2024-12-27 21:59:38 +08:00
JustSong
b51c47bc77
docs: update README.md 2024-12-27 21:45:51 +08:00
JustSong
4f25cde132 fix: add branch check 2024-12-27 20:41:20 +08:00
JustSong
d89e9d7e44 fix: add branch limitation and drop pull_request trigger for ci.yml 2024-12-27 20:34:04 +08:00
张盛
c9b3df8fc0 fix: audio transcription 400 error (#1882) 2024-12-27 16:51:41 +08:00
mxdlzg
ad56898d5a feat: use SystemInstructions and remove gemini dummy message 2024-12-23 14:44:39 +08:00
mxdlzg
ba50a137ea feat: add tool choice configuration and update steam handling in Gemini
update ToolConfig to use pointer type in ChatRequest
2024-12-23 14:44:25 +08:00
Laisky.Cai
3e82e76b03 feat: implement automatic removal of old request cost data 2024-12-22 12:23:32 +00:00
Laisky.Cai
a9604fd59c Merge branch 'upstream/main' 2024-12-22 12:13:47 +00:00
Qiying Wang
a858292b54
feat: support gpt-4o-2024-11-20 (#1941)
Some checks failed
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-12-22 19:49:50 +08:00
Yuwei Ba
ff589b5e4a
chore: update model mapping implementation for audio (#1932)
* fixed model mapping

* chore: update implementation

---------

Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-12-22 19:33:11 +08:00
Ke Wang
95e8c16338
feat: add balance query support for DeepSeek (#1946)
* Support Balance Query for DeepSeek

* Fix
2024-12-22 19:26:33 +08:00
lihangfu
381172cb36
feat: support Redis Sentinel and Redis Cluster (#1952)
* feature: support Redis Sentinel and Redis Cluster

* chore: update implementation

---------

Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-12-22 19:21:24 +08:00
ZhangTianrong
59eae186a3
fix: remove the duplicate claude-3-5-haiku-20241022 in Anthropic's base model list (#1957)
* Update constants.go

Remove the duplicate `claude-3-5-haiku-20241022` causing issue 1928

* fix: fix syntax error

---------

Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-12-22 18:58:29 +08:00
bestlaw66
ce52f355bb
docs: add tutorial section for BT Panel installation (#1985)
* Update README.md

在国内有大部分用户都在使用宝塔面板管理服务器,因此增加使用宝塔面板部署的教程,可视化的部署方式可以帮助用户更加便捷的部署one-api

* docs: update readme

---------

Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-12-22 18:55:04 +08:00
Ke Wang
cb9d0a74c9
fix: fix balance query for siliconflow (#1960) 2024-12-22 18:48:47 +08:00
Wei Tingjiang
49ffb1c60d
feat: enhance response handling to support gemini-2.0-thinking (#1995) 2024-12-22 18:25:44 +08:00
longkeyy
2f16649896
feat: update qwen model and price (#1966) 2024-12-22 18:22:57 +08:00
dependabot[bot]
af3aa57bd6
chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 (#1976)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 18:21:00 +08:00
Laisky.Cai
dc181dd7fa Merge branch 'upstream/main' 2024-12-22 02:50:40 +00:00
Laisky.Cai
00f5e25e57
Merge pull request #18 from jinjunliu/main
feat: add support for gemini-2.0-flash-thinking-exp model
2024-12-22 10:34:33 +08:00
Laisky.Cai
cf04ab9564 fix: update default version handling for Gemini models and improve billing ratio formatting 2024-12-22 02:32:46 +00:00