- 28 Dec, 2024 12 commits
-
-
Yan committed
-
CalciumIon committed
-
CalciumIon committed
-
- Add file data DTO for structured file handling - Implement file decoder service - Update Claude and Gemini relay channels to handle various file types - Reorganize worker service to cf_worker for clarity - Update token counter and image service for new file types
CalciumIon committed -
CalciumIon committed
-
fix: 转义 Gemini 工具调用中的反斜杠
Calcium-Ion committed -
Yan committed
-
fix: add index in the tool calls when chat by stream (gemini)
Calcium-Ion committed -
Yan committed
-
CalciumIon committed
-
CalciumIon committed
-
CalciumIon committed
-
- 27 Dec, 2024 6 commits
-
-
CalciumIon committed
-
CalciumIon committed
-
- Introduced a new function `GetUserUsableGroupsCopy` to return a copy of user usable groups. - Updated `GetUserUsableGroups` to utilize the new function for better encapsulation. - Changed variable names from `UserUsableGroups` to `userUsableGroups` for consistency. - Enhanced `GetUserUsableGroups` logic to ensure it returns a copy of the groups, preventing unintended modifications.
CalciumIon committed -
CalciumIon committed
-
CalciumIon committed
-
CalciumIon committed
-
- 26 Dec, 2024 5 commits
-
-
CalciumIon committed
-
CalciumIon committed
-
fix delete title schema
Calcium-Ion committed -
fix 重试过程多次获取图片
Calcium-Ion committed -
CalciumIon committed
-
- 25 Dec, 2024 11 commits
-
-
在上下文中存入promptTokens,避免重试过程重复计算
xqx333 committed -
tenacious committed
-
- Added input validation to ensure that the `num` parameter in `renderQuotaNumberWithDigit` is a valid number, returning 0 for invalid inputs. - Updated the `Detail` component to use `datum['rawQuota']` instead of `datum['Usage']` for rendering quota values, ensuring more accurate data representation. - Enhanced data aggregation logic to handle cases where quota values may be missing or invalid, improving overall data integrity in charts and tables. - Removed unnecessary time granularity calculations and streamlined the data processing for better performance.
CalciumIon committed -
- Replaced references to common.GroupRatio and common.UserUsableGroups with corresponding functions from the new setting package across multiple controllers and services. - Introduced new setting functions for managing group ratios and user usable groups, enhancing code organization and maintainability. - Updated related functions to ensure consistent behavior with the new setting package integration.
CalciumIon committed -
CalciumIon committed
-
CalciumIon committed
-
CalciumIon committed
-
CalciumIon committed
-
- Added a new endpoint to batch set tags for multiple channels, allowing users to update tags efficiently. - Introduced a new `BatchSetChannelTag` function in the controller to handle incoming requests and validate parameters. - Updated the `BatchSetChannelTag` method in the model to manage database transactions and ensure data integrity during tag updates. - Enhanced the ChannelsTable component in the frontend to support batch tag setting, including UI elements for user interaction. - Updated localization files to include new translation keys related to batch operations and tag settings.
CalciumIon committed -
CalciumIon committed
-
fix: gemini function call
Calcium-Ion committed
-
- 24 Dec, 2024 6 commits
-
-
CalciumIon committed
-
CalciumIon committed
-
Yan committed
-
Yan committed
-
- Updated the GetPricing function in the backend to include user group information, allowing for dynamic adjustment of group ratios based on the user's group. - Implemented logic to filter group ratios based on the user's usable groups, improving the accuracy of pricing data returned. - Modified the ModelPricing component to utilize the new usable group data, ensuring only relevant groups are displayed in the UI. - Enhanced state management in the frontend to accommodate the new usable group information, improving user experience and data consistency.
CalciumIon committed -
- Added new translation keys for English localization in `en.json`, including "Token group, default is the your's group" and "IP whitelist (do not overly trust this function)". - Refactored `EditToken.js` to utilize the `useTranslation` hook for improved internationalization, ensuring all user-facing strings are translatable. - Updated error and success messages to use translation functions, enhancing user experience for non-English speakers. - Improved UI elements to support localization, including labels, placeholders, and button texts, ensuring consistency across the token editing interface.
CalciumIon committed
-