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
e9f117ff72
feat: add gemini-2.0-flash-exp and fix race condition in processChannelRelayError ( #1983 )
...
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-12-21 20:32:30 +08:00
Laisky.Cai
6bb5247bd6
feat: add support for new OpenAI models and update billing ratios ( #1990 )
2024-12-21 20:28:51 +08:00
Laisky.Cai
305ce14fe3
feat: support replicate chat models ( #1989 )
...
* feat: add Replicate adaptor and integrate into channel and API types
* feat: support llm chat on replicate
2024-12-21 14:41:19 +08:00
JustSong
36c8f4f15c
docs: update readme
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
2024-12-21 00:33:20 +08:00
JustSong
45b51ea0ee
feat: update feishu oauth login
2024-12-20 23:27:00 +08:00
Calcium-Ion
7c8628bd95
feat: support gzip decode ( #1962 )
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-12-04 23:34:24 +08:00
JustSong
6ab87f8a08
feat: add warning in log when system prompt is reset
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-11-10 17:18:46 +08:00
JustSong
833fa7ad6f
feat: support set system_prompt for theme air & berry
2024-11-10 15:09:02 +08:00
JustSong
6eb0770a89
feat: support set system prompt for channel ( close #1920 )
2024-11-10 14:53:34 +08:00
JustSong
92cd46d64f
feat: able to use ENFORCE_INCLUDE_USAGE to enforce include usage in response
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
2024-11-10 00:36:08 +08:00
lihangfu
2b2dc2c733
fix: update Spark Lite's domain to lite ( #1896 )
2024-11-09 23:55:55 +08:00
JustSong
a3d7df7f89
feat: update GeneralOpenAIRequest
2024-11-09 23:43:08 +08:00
wanthigh
c368232f50
fix: changeoptional field to pointer type ( #1907 )
...
* fix:修复在渠道配置中设置模型重定向时,temperature为0被忽略的问题
* fix: set optional fields to pointer type
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-11-09 23:31:46 +08:00
Laisky.Cai
cbfc983dc3
feat: add new claude models ( #1910 )
...
* feat: Add new models to ModelList in constants.go
* feat: update model lists and mappings for Claude 3.5 versions
---------
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-11-09 22:48:54 +08:00
Ryo Shen
8ec092ba44
feat: add support for xAI ( #1915 )
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-11-07 23:52:38 +08:00
shaoyun
b0b88a79ff
feat: added support for Claude 3.5 Haiku ( #1912 )
2024-11-07 23:51:17 +08:00
JustSong
7e51b04221
feat: able to hide test model selector and balance col
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-10-27 18:31:43 +08:00
JustSong
f75a17f8eb
feat: always return usage in stream mode
2024-10-27 17:58:44 +08:00
Wei Tingjiang
6f13a3bb3c
feat: update Gemini adaptor to support custom response format ( #1892 )
2024-10-27 17:10:50 +08:00
shaoyun
f092eed1db
feat: add support for Claude Sonnet 3.5 v2 ( #1888 )
2024-10-27 17:10:02 +08:00
longkeyy
629378691b
feat: update groq model and price ( #1864 )
2024-10-27 17:07:24 +08:00
liangjs
3716e1b0e6
fix: use modelMap when testing a channel ( #1855 )
...
Co-authored-by: oliang <oliang@tencent.com>
2024-10-27 17:06:41 +08:00
Pan, Wen-Ming
a4d6e7a886
feat: add Vertex AI gemini-1.5-pro-002 and gemini-1.5-flash-002 ( #1854 )
2024-10-27 17:04:41 +08:00
千寻简
cb772e5d06
fix:unsuccessful lobechat redirection link ( #1843 )
2024-10-27 17:03:35 +08:00
lihangfu
e32cb0b844
feat: support SparkDesk-v3.5-32K ( #1832 )
...
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-10-27 17:02:54 +08:00
抒情熊
fdd7bf41c0
feat: support multipart/form-data format request ( #1690 )
...
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
* "add parser multipart/form-data"
* chore: fix impl
* chore: update impl
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-22 17:32:47 +08:00
徐瑞东
29389ed44f
fix: modify the type of token models to be text ( #1761 )
...
* fix: modify the type of token models to be text
* chore: update receiver name
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-22 16:51:16 +08:00
byte911
88acc5a614
fix: return the usage info if not null ( #1792 )
...
Usage is missing.
2024-09-22 16:41:10 +08:00
TimeTrapzz
a21681096a
feat: add siliconflow usage ( #1798 )
2024-09-22 16:31:26 +08:00
lihangfu
32f90a79a8
feat: support SparkDesk-v3.1-128K ( #1732 )
...
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
---------
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-09-22 16:29:09 +08:00
OnEvent
99c8c77504
feat: add oidc support ( #1725 )
...
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
* feat: add the ui for configuring the third-party standard OAuth2.0/OIDC.
- update SystemSetting.js
- add setup ui
- add configuration
* feat: add the ui for "allow the OAuth 2.0 to login"
- update SystemSetting.js
* feat: add OAuth 2.0 web ui and its process functions
- update common.js
- update AuthLogin.js
- update config.js
* fix: missing "Userinfo" endpoint configuration entry, used by OAuth clients to request user information from the IdP.
- update config.js
- update SystemSetting.js
* feat: updated the icons for Lark and OIDC to match the style of the icons for WeChat, EMail, GitHub.
- update lark.svg
- new oidc.svg
* refactor: Changing OAuth 2.0 to OIDC
* feat: add OIDC login method
* feat: Add support for OIDC login to the backend
* fix: Change the AppId and AppSecret on the Web UI to the standard usage: ClientId, ClientSecret.
* feat: Support quick configuration of OIDC through Well-Known Discovery Endpoint
* feat: Standardize terminology, add well-known configuration
- Change the AppId and AppSecret on the Server End to the standard usage: ClientId, ClientSecret.
- add Well-Known configuration to store in database, no actual use in server end but store and display in web ui only
2024-09-21 23:03:20 +08:00
TAKO
649ecbf29c
feat: support new openai models (4o 0806, chatgpt-4o-latest) ( #1721 )
...
* feat: support new model gpt-4o-2024-08-06
* feat: support new model chatgpt-4o-latest
2024-09-21 23:01:19 +08:00
qinguoyi
3a27c90910
fix: getTokenById return token nil, make panic ( #1728 )
...
* fix:getTokenById return token nil, make panic
* chore: remove useless err check
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-21 23:00:29 +08:00
千寻简
cba82404ae
feat: add lobechat open link options ( #1741 )
...
Co-authored-by: Star <iii9777@163.com>
2024-09-21 22:49:31 +08:00
forrestlinfeng
c9ac670ba1
feat: update stepfun models ( #1740 )
...
Co-authored-by: chenlinfeng <chenlinfeng@step.ai>
2024-09-21 22:48:46 +08:00
leavegee
15f815c23c
fix: fix ali embedding model always use v1 ( #1747 )
...
* fix:ali embedding model: v2 and v3
* chore: use ctxkey.RequestModel to eliminate hardcoding
---------
Co-authored-by: xuejia <gexuejia@djbx.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-21 22:40:06 +08:00
majian
89b63ca96f
feat: ResponseFormat support json_schema ( #1759 )
...
* feat: responseFormat support json_schema
* chore: rename struct name
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-21 22:35:24 +08:00
Ghostz
8cc54489b9
feat: update disabled channel ( #1780 )
...
* Update disabled channel
* Update manage.go
* Update manage.go
* chore: add missing space
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-09-21 22:31:53 +08:00
guogeer
58bf60805e
fix: postgres use COALESCE replace null ( #1793 )
...
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
2024-09-21 22:13:31 +08:00
AJ's Life Journey
6714cf96d6
fix: Groq organization not auto-disabled when blocked ( #1822 )
2024-09-21 22:12:09 +08:00
longkeyy
f9774698e9
feat: synchronize with the official release of the groq model ( #1677 )
...
update groq add gemma2-9b-it llama3.1 family fixup price k/token -> m/token
2024-08-06 23:51:08 +08:00