| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| channel | ||
| common | ||
| constant | ||
| relay-audio.go | ||
| relay-image.go | ||
| relay-mj.go | ||
| relay-text.go | ||
| relay_adaptor.go | ||
| relay_rerank.go | ||
| relay_task.go | ||
| websocket.go |
- 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.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| channel | Loading commit data... | |
| common | Loading commit data... | |
| constant | Loading commit data... | |
| relay-audio.go | Loading commit data... | |
| relay-image.go | Loading commit data... | |
| relay-mj.go | Loading commit data... | |
| relay-text.go | Loading commit data... | |
| relay_adaptor.go | Loading commit data... | |
| relay_rerank.go | Loading commit data... | |
| relay_task.go | Loading commit data... | |
| websocket.go | Loading commit data... |