Files
new-api/relay
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-12-05 17:50:08 +08:00
2024-09-26 00:59:09 +08:00
2024-11-25 19:31:59 +08:00
2024-11-05 19:24:14 +08:00
2024-09-26 00:59:09 +08:00