- 30 Dec, 2024 6 commits
-
-
修复 PostgreSQL 中用户组查询错误
Calcium-Ion committed -
# Conflicts: # model/user.go
CalciumIon committed -
Refactor redis
Calcium-Ion committed -
CalciumIon committed
-
CalciumIon committed
-
- 修复 model/user.go 中的 SQL 查询,使用双引号将 group 列名括起来 - 对于 PostgreSQL 数据库,`group` 是保留关键字,需要用双引号括起来避免语法错误。该修改确保了代码在 PostgreSQL 和其他数据库(如 MySQL)中都能正常工作。
Mageia committed
-
- 29 Dec, 2024 5 commits
-
-
refactor: user cache logic
Calcium-Ion committed -
CalciumIon committed
-
CalciumIon committed
-
fix: Gemini 函数调用的文本转义,以及其他文件类型的 Base64 支持
Calcium-Ion committed -
Yan committed
-
- 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 6 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
-