- 22 Dec, 2024 2 commits
-
-
- Removed redundant checks for non-empty properties in function parameters. - Set function parameters to nil when no properties are needed, streamlining the logic for handling Gemini requests. - Improved code clarity and maintainability by eliminating unnecessary complexity.
CalciumIon committed -
- Added logic to ensure that function parameters have non-empty properties. - Implemented checks to add a default empty property if no parameters are needed. - Updated the required field to match existing properties, improving the robustness of the Gemini function integration.
CalciumIon committed
-
- 21 Dec, 2024 5 commits
-
-
- Added `renderGroup` function to improve the display of log data by rendering the 'group' information in the LogsTable component. - Updated the rendering logic to utilize the new function, enhancing the UI's clarity and usability for grouped logs.
CalciumIon committed -
- Introduced `log_info_generate.go` to implement functions for generating various log information, including text, WebSocket, and audio details. - Enhanced `LogsTable` component to display the 'group' information from the log data, improving the visibility of grouped logs in the UI.
CalciumIon committed -
# Conflicts: # dto/openai_request.go
CalciumIon committed -
支持gemini结构化输出
Calcium-Ion committed -
MartialBE committed
-
- 20 Dec, 2024 16 commits
-
-
HynoR committed
-
HynoR committed
-
TAKO committed
-
HynoR committed
-
HynoR committed
-
- Updated `CovertGemini2OpenAI` function to return an error alongside the GeminiChatRequest, improving error reporting for image processing. - Modified `ConvertRequest` methods in both `adaptor.go` files to handle potential errors from the Gemini conversion, ensuring robust request handling. - Improved clarity and maintainability of the code by explicitly managing error cases during request conversion.
CalciumIon committed -
- Introduced `GEMINI_VISION_MAX_IMAGE_NUM` to README files for better user guidance. - Updated `env.go` to retrieve the maximum image number from environment variables, defaulting to 16. - Modified image handling logic in `relay-gemini.go` to respect the new configuration, allowing disabling of the limit by setting it to -1. - Removed hardcoded constant for maximum image number in `constant.go` to streamline configuration management.
CalciumIon committed -
fix: 修复添加模型切换模式时,初始化空值导致的判断问题
Calcium-Ion committed -
chore: 更新遗漏的gemini模型
Calcium-Ion committed -
fix: 修复gemini thinking在stream下会内容丢失
Calcium-Ion committed -
MartialBE committed
-
HynoR committed
-
HynoR committed
-
TAKO committed
-
- Included additional versions: "gemini-2.0-flash-thinking-exp" and "gemini-2.0-flash-thinking-exp-1219". - Added comments to categorize versions as old, experimental, and flash experimental for better clarity.
CalciumIon committed -
CalciumIon committed
-
- 19 Dec, 2024 1 commit
-
-
HynoR committed
-
- 17 Dec, 2024 6 commits
-
-
- Simplified conditional checks in UpdateChannelStatusById function in channel.go to enhance readability. - Commented out unused image number check in relay-gemini.go for clarity. - Updated JSON field in en.json for currency consistency, changing "元" from "RMB/CNY" to "CNY" and added a space in "实付金额:" for formatting.
CalciumIon committed -
fix
Calcium-Ion committed -
xqx333 committed
-
修复自动禁用会对数据库进行多次更新的问题
Calcium-Ion committed -
xqx333 committed
-
xqx333 committed
-
- 16 Dec, 2024 8 commits
-
-
refactor: Update SystemInstructions type in GeminiChatRequest and adjust handling in CovertGemini2OpenAI - Changed SystemInstructions from *GeminiPart to *GeminiChatContent in GeminiChatRequest for improved structure. - Updated CovertGemini2OpenAI function to accommodate the new SystemInstructions type, ensuring proper handling of message content.
CalciumIon committed -
- Updated the JSON field name from "system_instructions" to "system_instruction" to ensure consistency and accuracy in the data structure.
CalciumIon committed -
- Added language messaging functionality to the iframe in the Home component. - This update ensures that the iframe receives the current language setting, improving localization support.
CalciumIon committed -
merge 428
Calcium-Ion committed -
- Added functionality to post a message to the iframe when the language is changed. - This update improves localization support by ensuring that the iframe content updates according to the selected language.
CalciumIon committed -
# Conflicts: # README.md # web/src/components/HeaderBar.js # web/src/components/SiderBar.js
CalciumIon committed -
CalciumIon committed
-
CalciumIon committed
-
- 15 Dec, 2024 2 commits
-
-
fix bindWeChat tips
Calcium-Ion committed -
Q.A.zh committed
-