Laisky.Cai
db992c26c4
feat: implement centralized error response handling and add logger middleware
2025-02-26 00:52:24 +00:00
Laisky.Cai
647718f3e6
feat: add OpenrouterProviderSort configuration for provider sorting
2025-02-20 01:51:19 +00:00
Laisky.Cai
a5f5e85c44
feat: support OpenRouter reasoning
2025-02-19 01:11:46 +00:00
Laisky.Cai
2a5908586d
Merge branch 'upstream/main'
2025-02-16 13:18:50 +00:00
JustSong
6916debf66
feat: update TestPrompt to specify output format for model name
2025-02-12 00:28:23 +08:00
JustSong
dd65b997dd
feat: add Baidu V2 channel support and improve model handling
2025-02-09 12:37:26 +08:00
Laisky.Cai
4fb8501833
Merge branch 'upstream/main'
2025-02-09 03:49:59 +00:00
JustSong
07808122a6
fix: fix Debugf not using DebugEnabled ( close #2068 )
2025-02-09 10:57:22 +08:00
Laisky.Cai
bf54caa9dc
fix: update TestPrompt and improve error handling in channel test
2025-02-08 07:15:53 +00:00
Laisky.Cai
aa30c37e3c
Merge branch 'upstream/main'
2025-02-03 12:25:00 +00:00
江南一根葱
6ded638f70
fix: audio transcription 400 error ( #1882 ) ( #2003 )
2025-02-02 22:22:42 +08:00
JustSong
a910d3ba25
feat: increase global API and web rate limits for improved performance
2025-02-02 19:20:50 +08:00
JustSong
ececfe5ba0
feat: add SysWarn and SysWarnf logging functions; handle SMTP short response warning
2025-02-02 17:13:41 +08:00
JustSong
8fa9df5b3c
feat: enhance email notifications with HTML templates and improved content
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
2025-02-02 16:39:30 +08:00
JustSong
19998ebb8a
feat: update i18n messages and improve error handling
2025-02-02 16:25:52 +08:00
JustSong
8f40e11c97
feat: initial official i18n support for backend
2025-02-02 15:09:31 +08:00
Laisky.Cai
acd9cc0db5
Merge branch 'upstream/main'
2025-02-01 13:17:28 +00:00
JustSong
fa2a772731
feat: able to query test log
2025-01-31 21:23:12 +08:00
JustSong
dc470ce82e
feat: show stream & elapsed time in log detail
2025-01-31 19:34:22 +08:00
Laisky.Cai
f47c70aaa2
Merge branch 'upstream/main'
2025-01-31 10:32:35 +00:00
JustSong
d0402f9086
feat: record request_id
2025-01-31 17:54:04 +08:00
JustSong
605bb06667
feat: update logger
2025-01-31 16:00:53 +08:00
Laisky.Cai
303ab407d0
fix: update repository links
2025-01-26 12:29:20 +00:00
Laisky.Cai
2d1fcb46a7
fix: change GetAudioTokens to return float64 and update related functions
2025-01-26 12:17:31 +00:00
Laisky.Cai
a46b94d4c5
feat: only allow gpt-audio stream mode when EnforceIncludeUsage is true
2025-01-26 08:21:51 +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
13b1b165bd
refactor: update UI text and error messages to English for better accessibility
2025-01-19 12:59:58 +00:00
Laisky.Cai
21041ec7ac
Merge branch 'main' into pr/Laisky/25
2025-01-17 07:45:29 +00:00
Laisky.Cai
bd9cee9c5c
Merge branch 'main' into pr/Laisky/23
2025-01-17 02:52:43 +00:00
Laisky.Cai
9730ac3bb5
feat: support gpt-4o-audio
2025-01-14 06:38:07 +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
张盛
c9b3df8fc0
fix: audio transcription 400 error ( #1882 )
2024-12-27 16:51:41 +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
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
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
Laisky.Cai
09bfd61f2e
refactor: replace Laisky/errors with pkg/errors for improved error handling
2024-12-20 03:06:09 +00:00
Laisky.Cai
502cf3315d
feat: support llm chat on replicate
2024-12-19 03:14:32 +00:00
Laisky.Cai
f72c715e4c
feat: support image inpainting for flux-fill on replicate
2024-12-16 09:12:24 +00:00
Laisky.Cai
082cfbe574
Merge remote-tracking branch 'origin/upstream/main'
2024-11-20 02:09:28 +00: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
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
3f905ea0a4
Merge branch 'upstream/main'
2024-09-25 09:22:57 +00: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
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
Laisky.Cai
adba54acd3
fix: implement improved headers for anthropic to support 8k outputs ( #1654 )
2024-07-16 23:48:54 +08:00