CaIon
|
01b4039e96
feat(token): add cross-group retry option for token processing
|
2 hete |
CaIon
|
7d1bad1b37
fix(token_counter): correct model name reference in image token estimation
|
4 hete |
CaIon
|
f5b409d74f
feat: refactor token estimation logic
|
4 hete |
CaIon
|
0952973887
feat: Add CountToken configuration and update token counting logic
|
1 hónapja |
CaIon
|
2b70095b47
feat: implement audio duration retrieval without ffmpeg dependencies
|
2 hónapja |
Seefs
|
e1c7a4f41f
format: package name -> github.com/QuantumNous/new-api (#2017)
|
2 hónapja |
CaIon
|
6451158680
Revert "feat: gemini-2.5-flash-image-preview 文本和图片输出计费"
|
3 hónapja |
Seefs
|
b7527eb80e
Merge pull request #1677 from QuantumNous/gemini-2.5-flash-image-preview-billing
|
3 hónapja |
CaIon
|
56fc3441da
feat(monitor_setting): implement automatic channel testing configuration
|
3 hónapja |
CaIon
|
fbe7f35a25
feat(token_counter): add mime type extraction for base64 encoded data
|
4 hónapja |
creamlike1024
|
e732c58426
feat: gemini-2.5-flash-image-preview 文本和图片输出计费
|
4 hónapja |
CaIon
|
c5a1cbe755
fix(token_counter): update token counting logic to handle media token conditions
|
4 hónapja |
CaIon
|
35218609d9
fix(image): add error handling for empty base64 string in image decoding
|
4 hónapja |
CaIon
|
5d6fac69c4
feat: implement file type detection from URL with enhanced MIME type handling
|
4 hónapja |
CaIon
|
0bb43aa464
refactor: update function signatures to include context and improve file handling #1599
|
4 hónapja |
CaIon
|
2f25e44e60
refactor: update token type handling and improve token counting logic
|
4 hónapja |
CaIon
|
6748b006b7
refactor: centralize logging and update resource initialization
|
4 hónapja |
CaIon
|
e2037ad756
refactor: Introduce pre-consume quota and unify relay handlers
|
4 hónapja |
CaIon
|
6ac7878863
🔧 refactor(endpoint types): comment out unused endpoint types in constants
|
5 hónapja |
CaIon
|
7e298f8ad1
✨ feat: refactor environment variable initialization and introduce new constant types for API and context keys
|
6 hónapja |
CaIon
|
a9e5d99ea3
refactor: token counter logic
|
6 hónapja |
CaIon
|
f124404f07
🔧 fix(stream_scanner): improve resource management and error handling in StreamScannerHandler
|
6 hónapja |
CaIon
|
896e1d978f
🔧 fix(token_counter): enhance token encoder caching and concurrency handling
|
6 hónapja |
CaIon
|
6c4f64c397
🔧 fix(token_counter): refactor token encoder initialization and retrieval logic
|
6 hónapja |
CaIon
|
d1f493bf17
🔧 fix(token_counter): update token encoder implementation and dependencies
|
6 hónapja |
Xyfacai
|
b778cd2b23
refactor: message content 改成 any
|
6 hónapja |
CaIon
|
4825404d37
feat: enhance image decoding logic to handle base64 file types and improve error handling
|
7 hónapja |
CaIon
|
e097d5a538
feat: add video URL support in MediaContent and update token counting logic
|
8 hónapja |
CaIon
|
ee4f27d01b
refactor: simplify model prefix checks and update message role for o-series models
|
8 hónapja |
CaIon
|
cca9c0479f
feat: enhance file handling and logging in the application
|
8 hónapja |