Commit Graph

1518 Commits

Author SHA1 Message Date
JustSong
d9f74bdff3 feat: support new log type 2025-01-31 21:49:34 +08:00
JustSong
fa2a772731 feat: able to query test log 2025-01-31 21:23:12 +08:00
JustSong
4f68f3e1b3 chore: update log content 2025-01-31 20:16:56 +08:00
JustSong
0bab887b2d chore: update log content 2025-01-31 20:15:04 +08:00
JustSong
0230d36643 feat: update log table style 2025-01-31 20:06:43 +08:00
JustSong
bad57d049a feat: update log table style 2025-01-31 20:02:51 +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
ea0721d525 feat: update log content format 2025-01-31 18:15:43 +08:00
JustSong
d0402f9086 feat: record request_id 2025-01-31 17:54:04 +08:00
JustSong
1fead8e7f7 chore: add debug log for distributor 2025-01-31 17:26:33 +08:00
Fennng
09911a301d
feat: support hunyuan-embedding (#2035)
* feat: support hunyuan-embedding

* chore: improve implementation

---------

Co-authored-by: LUO Feng <luofeng@flowpp.com>
Co-authored-by: JustSong <quanpengsong@gmail.com>
2025-01-31 16:48:02 +08:00
chenzikun
f95e6b78b8
fix: fix berry copy token (#2041)
* [bugfix]修复copy问题

* [update]两阶段编译代码

---------

Co-authored-by: zicorn <a24395@autel.com>
2025-01-31 16:12:59 +08:00
JustSong
605bb06667 feat: update logger 2025-01-31 16:00:53 +08:00
Laisky.Cai
d88e07fd9a
feat: add deepseek-reasoner & gemini-2.0-flash-thinking-exp-01-21 (#2045)
Some checks are pending
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
* feat: add MILLI_USD constant and update pricing for deepseek services

* feat: add support for new Gemini model version 'gemini-2.0-flash-thinking-exp-01-21'
2025-01-31 15:15:59 +08:00
Laisky.Cai
e49bb64ea0 fix: remove deprecated gemini model references and update pricing ratios 2025-01-28 04:01:46 +00:00
Laisky.Cai
d5fa98f2e0 fix: translate error messages and comments to English for consistency 2025-01-27 03:34:27 +00:00
Laisky.Cai
59dba5bef3 fix: update error messages to English for consistency 2025-01-27 01:25:09 +00:00
Laisky.Cai
303ab407d0 fix: update repository links 2025-01-26 12:29:20 +00:00
Laisky.Cai
92a21f64eb fix: correct audio token accumulation in CountTokenMessages function 2025-01-26 12:22:50 +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
5e351bc02a fix: whisper model billing
- Refactor model name handling across multiple controllers to improve clarity and maintainability.
- Enhance error logging and handling for better debugging and request processing robustness.
- Update pricing models in accordance with new calculations, ensuring accuracy in the billing logic.
2025-01-26 08:02:55 +00:00
Laisky.Cai
f1db73405e fix: make ImagePrompt optional in the model definition
- Update `ImagePrompt` field to be optional in the replication model.
- Improve data handling by adding `omitempty` tag for flexibility.
2025-01-26 06:26:29 +00:00
Laisky.Cai
e265335fc5 feat: add ReasoningEffort field to GeneralOpenAIRequest and ReasoningContent to Message struct 2025-01-26 06:24:39 +00:00
Laisky.Cai
1ea322f371 fix: update OpenAI adaptor to set default temperature and clarify model limitations 2025-01-24 13:41:00 +00:00
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