Files
new-api/dto
CalciumIon 0c326556aa refactor: Update OpenAI request and message handling
- 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.
2024-12-22 16:20:30 +08:00
..
2024-07-16 22:07:10 +08:00
2024-07-19 00:45:52 +08:00
2024-04-04 16:35:44 +08:00
2024-07-31 15:48:51 +08:00
2024-11-07 16:12:09 +08:00
2024-09-26 00:59:09 +08:00
2024-06-27 19:30:17 +08:00
2024-11-07 16:12:09 +08:00
2024-06-13 10:35:48 +08:00
2024-06-13 10:35:48 +08:00