heimoshuiyu
|
8ca103342d
fix: Message.ReasoningContent/Reasoning 改为 *string,修复空思考内容在请求转发时被静默丢弃的问题
|
il y a 2 semaines |
CaIon
|
5238f279db
feat: record stream interruption reasons via StreamStatus
|
il y a 1 mois |
wenyifan
|
2c3ae32c8e
fix map
|
il y a 1 mois |
wenyifan
|
498199b37d
fix code quality
|
il y a 1 mois |
wenyifan
|
ff29900f30
feat: Add support for counting cache-hit tokens in llama.cpp OpenAI-Compatible API
|
il y a 1 mois |
Seefs
|
7eaa80583b
Revert "feat: xai refusal reason"
|
il y a 3 mois |
Seefs
|
2548eaf8d3
feat: xai refusal reason
|
il y a 3 mois |
Seefs
|
68e1e635e9
feat: logs show reject reason
|
il y a 3 mois |
John Chen
|
6a2da31946
fix: 修复智普、Moonshot渠道在stream=true时无法拿到cachePrompt的统计数据。
|
il y a 4 mois |
John Chen
|
6dbe89f1cf
为Moonshot添加缓存tokens读取逻辑
|
il y a 4 mois |
CaIon
|
be2a863b9b
feat(audio): enhance audio request handling with token type detection and streaming support
|
il y a 5 mois |
CaIon
|
1fededceb3
feat: refactor token estimation logic
|
il y a 5 mois |
CaIon
|
c8bbf7bed8
feat: Add ContextKeyLocalCountTokens and update ResponseText2Usage to use context in multiple channels
|
il y a 5 mois |
IcedTangerine
|
961af95ec4
fix: openai 音频模型流模式未正确计费 (#2160)
|
il y a 6 mois |
CaIon
|
a00c6393c5
feat: implement audio duration retrieval without ffmpeg dependencies
|
il y a 6 mois |
feitianbubu
|
f617ff8741
feat: openai tts support streaming realtime audio
|
il y a 6 mois |
Seefs
|
5010f2d004
format: package name -> github.com/QuantumNous/new-api (#2017)
|
il y a 7 mois |
RedwindA
|
efdb1c5b46
fix(openai): account cached tokens for
|
il y a 7 mois |
CaIon
|
6f8edd49c4
fix: streamline error handling in OpenRouter response processing
|
il y a 7 mois |
CaIon
|
6682842cbb
feat: enhance OpenRouter enterprise support with new settings and response handling
|
il y a 7 mois |
feitianbubu
|
69e76dae34
feat: use audio token usage if return
|
il y a 8 mois |
CaIon
|
858585d974
fix: update response body handling in OpenAI relay format
|
il y a 8 mois |
funnycups
|
2f176cff7f
fix: prompt calculation
|
il y a 9 mois |
CaIon
|
c9e9a24e99
refactor: centralize logging and update resource initialization
|
il y a 9 mois |
CaIon
|
97ea8b6560
refactor: Introduce pre-consume quota and unify relay handlers
|
il y a 9 mois |
CaIon
|
f69a4f7153
feat: enhance request handling to support tool calls and improve stream options
|
il y a 9 mois |
CaIon
|
c4666934be
Revert "feat: update Usage struct to support dynamic token handling with ceil function #1503"
|
il y a 9 mois |
CaIon
|
97b8d7de9e
feat: update Usage struct to support dynamic token handling with ceil function #1503
|
il y a 9 mois |
creamlike1024
|
689dbfe71a
feat: convert gemini format to openai chat completions
|
il y a 9 mois |
CaIon
|
563d056ff7
refactor: update error handling to support dynamic error types
|
il y a 9 mois |