Commit Graph

301 Commits

Author SHA1 Message Date
Laisky.Cai
92774271b3 test: skip audio tests if ffmpeg is not installed; update expected token value 2025-03-09 12:59:37 +00:00
Laisky.Cai
3e432c77bd fix: streamline Notify function with switch-case for notification methods 2025-03-09 12:52:08 +00:00
Laisky.Cai
b5a242da15
Merge pull request #35 from myronzhangweb3/fix-send-msg
Fix send msg
2025-03-09 20:48:32 +08:00
Laisky.Cai
155a3aac73 Merge branch 'patch/models-api' 2025-02-27 01:12:38 +00:00
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
MyronZhang
a78360efd8 fix send ByAll 2025-02-11 18:32:59 +08:00
MyronZhang
8f6b13c2fe fix send ByAll 2025-02-11 16:17:53 +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
Some checks are pending
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