- 06 Apr, 2026 2 commits
-
-
CaIon committed
-
- Added `EstimateBilling` function to check for video input in request metadata and return corresponding discount ratios. - Updated `ModelPriceHelperPerCall` to incorporate new pricing logic based on model ratios and video input. - Enhanced task billing logs to include model ratio information and adjusted calculations for actual quota based on additional multipliers. - Introduced `renderTaskBillingProcess` to improve rendering of task billing information in the UI.
CaIon committed
-
- 05 Apr, 2026 4 commits
-
-
chore(deps-dev): bump lodash from 4.17.23 to 4.18.1 in /electron
Calcium-Ion committed -
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] committed -
chore(deps-dev): bump @xmldom/xmldom from 0.8.11 to 0.8.12 in /electron
Calcium-Ion committed -
chore(deps-dev): bump electron from 35.7.5 to 39.8.5 in /electron
Calcium-Ion committed
-
- 04 Apr, 2026 4 commits
-
-
fix: emit claude message_delta for usage-only final stream chunk
Calcium-Ion committed -
Seefs committed
-
fix(gemini): detect streaming from URL path :streamGenerateContent
Seefs committed -
Google's native Gemini API uses the URL action :streamGenerateContent to indicate streaming intent, not just the ?alt=sse query parameter. The current IsStream() only checks c.Query("alt") == "sse", causing all :streamGenerateContent requests (without ?alt=sse) to be treated as non-streaming. This adds a strings.Contains check for "streamGenerateContent" in the request URL path, so both streaming indicators are recognized.D26FORWARD committed
-
- 03 Apr, 2026 2 commits
-
-
Bumps [electron](https://github.com/electron/electron) from 35.7.5 to 39.8.5. - [Release notes](https://github.com/electron/electron/releases) - [Commits](https://github.com/electron/electron/compare/v35.7.5...v39.8.5) --- updated-dependencies: - dependency-name: electron dependency-version: 39.8.5 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] committed -
CaIon committed
-
- 02 Apr, 2026 14 commits
-
-
CaIon committed
-
Added translations for custom currency display settings across multiple languages, including descriptions for quota display types and exchange rates. This enhances user experience by providing clear information on how quotas are displayed and calculated in different currencies.
CaIon committed -
* feat: add HEIC/HEIF image format support Add detection, MIME type mapping, and dimension parsing for HEIC/HEIF images via ISOBMFF ftyp brand inspection and ispe box parsing. Update Gemini relay to accept these formats and refactor getImageConfig to properly retry decoders using buffered data. * fix: handle ISOBMFF extended sizes in HEIF dimension parser parseHEIFDimensions now correctly handles boxSize==1 (64-bit extended size) and boxSize==0 (box-to-EOF), preventing the parser from breaking out of the loop when encountering these valid ISOBMFF box headers before reaching the meta box.
Calcium-Ion committed -
Updated performance checks to provide more detailed error messages, including current usage and thresholds for CPU, memory, and disk. Additionally. Updated localization files to reflect changes in retry options across multiple languages.
CaIon committed -
新增seedance2.0视频接口支持
Calcium-Ion committed -
parseHEIFDimensions now correctly handles boxSize==1 (64-bit extended size) and boxSize==0 (box-to-EOF), preventing the parser from breaking out of the loop when encountering these valid ISOBMFF box headers before reaching the meta box.
RedwindA committed -
Add detection, MIME type mapping, and dimension parsing for HEIC/HEIF images via ISOBMFF ftyp brand inspection and ispe box parsing. Update Gemini relay to accept these formats and refactor getImageConfig to properly retry decoders using buffered data.
RedwindA committed -
fix: add basic inline file support for Claude relay
Calcium-Ion committed -
Seefs committed
-
feitianbubu committed
-
feitianbubu committed
-
feitianbubu committed
-
feitianbubu committed
-
feitianbubu committed
-
- 01 Apr, 2026 7 commits
-
-
Added functionality to save and restore the state of advanced settings in the EditChannelModal using local storage. This enhancement allows users to maintain their preferences when editing channels, improving the overall user experience.
CaIon committed -
支持wan2.7生图-wan2.7-image
Calcium-Ion committed -
fix: prevent double-counting of image count n in billing
Calcium-Ion committed -
feitianbubu committed
-
feitianbubu committed
-
chore(deps-dev): bump picomatch from 4.0.3 to 4.0.4 in /electron
Calcium-Ion committed -
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.11 to 0.8.12. - [Release notes](https://github.com/xmldom/xmldom/releases) - [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md) - [Commits](https://github.com/xmldom/xmldom/compare/0.8.11...0.8.12) --- updated-dependencies: - dependency-name: "@xmldom/xmldom" dependency-version: 0.8.12 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] committed
-
- 31 Mar, 2026 7 commits
-
-
The previous commit commented out AddOtherRatio("n") in the Ali adaptor to fix double-counting but this could cause billing evasion when n is specified via extra["parameters"] instead of request.N. Root cause: ImagePriceRatio in GetTokenCountMeta() already included n, AND channel adaptors added OtherRatio("n"), resulting in n² billing. Proper fix: - Remove n from ImagePriceRatio (keep sizeRatio * qualityRatio only) - In ImageHelper, add default OtherRatio("n") when adaptor hasn't set one; set fallback tokens to 1 (base unit) - Restore Ali adaptor's AddOtherRatio("n") — it uses actual upstream parameters/response count, preventing billing evasionCaIon committed -
Added checks to ensure clipboard functionality is available before attempting to read from it. Improved error handling during clipboard read operations to prevent unhandled exceptions.
CaIon committed -
When copying a token, users can now choose "Copy Connection String" which encodes both the API key and server URL as a JSON clipboard payload (type: newapi_channel_conn). When opening the channel creation form, the clipboard is auto-detected and a banner offers to fill key + base_url, eliminating repeated tab-switching when connecting to another new-api instance.
CaIon committed -
CaIon committed
-
docs(zh-TW): fix missing content and add partner logo
Calcium-Ion committed -
fix(dashboard): 修复消耗分布图表悬浮时滚动条闪烁
Calcium-Ion committed -
- Switch /api/oauth/email/bind and /api/oauth/wechat/bind from GET to POST with JSON body for better REST semantics - Normalize password reset endpoint to return consistent responses - Apply url.QueryEscape to WeChat code parameter for robustness
CaIon committed
-