Files
new-api/relay/channel
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-02 15:59:08 +00:00
2024-11-05 19:24:14 +08:00
2024-11-27 13:33:37 +08:00
2024-11-05 19:27:47 +08:00
2024-11-05 19:24:14 +08:00
2024-12-05 17:50:08 +08:00
2024-11-05 19:27:47 +08:00
2024-11-05 19:24:14 +08:00
2024-05-16 19:03:42 +08:00
2024-11-05 19:32:51 +08:00
2024-05-16 19:03:42 +08:00
2024-12-20 23:14:10 +08:00
2024-11-05 19:24:14 +08:00
2024-11-05 19:24:14 +08:00
2024-06-13 10:35:48 +08:00
2024-12-08 01:04:43 +08:00
2024-11-05 19:24:14 +08:00
2024-11-05 19:24:14 +08:00
2024-11-05 19:24:14 +08:00