1. 22 Dec, 2024 4 commits
    • refactor: Update OpenAI request and message handling · 464220cd
      - Changed the type of ToolCalls in the Message struct from `any` to `json.RawMessage` for better type safety and clarity.
      - Introduced ParseToolCalls and SetToolCalls methods to handle ToolCalls more effectively, improving code readability and maintainability.
      - Updated the ParseContent method to work with the new MediaContent type instead of MediaMessage, enhancing the structure of content parsing.
      - Refactored Gemini relay functions to utilize the new ToolCalls handling methods, streamlining the integration with OpenAI and Gemini systems.
      CalciumIon committed
    • Merge pull request #648 from palboss/main · 9e6d0b2a
      解决  #534 用户管理-管理用户-查询报错 (SQLSTATE 42601)-postgresql
      Calcium-Ion committed
    • refactor: Simplify Gemini function parameter handling · 7d0f26c9
      - 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
    • feat: Enhance Gemini function parameter handling · d13103b6
      - 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
  2. 21 Dec, 2024 7 commits
  3. 20 Dec, 2024 16 commits
  4. 19 Dec, 2024 1 commit
  5. 17 Dec, 2024 6 commits
  6. 16 Dec, 2024 6 commits