| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| audio.go | ||
| dalle.go | ||
| error.go | ||
| midjourney.go | ||
| openai_request.go | ||
| openai_response.go | ||
| playground.go | ||
| pricing.go | ||
| realtime.go | ||
| rerank.go | ||
| sensitive.go | ||
| suno.go | ||
| task.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 |
|---|---|---|
| .. | ||
| audio.go | Loading commit data... | |
| dalle.go | Loading commit data... | |
| error.go | Loading commit data... | |
| midjourney.go | Loading commit data... | |
| openai_request.go | Loading commit data... | |
| openai_response.go | Loading commit data... | |
| playground.go | Loading commit data... | |
| pricing.go | Loading commit data... | |
| realtime.go | Loading commit data... | |
| rerank.go | Loading commit data... | |
| sensitive.go | Loading commit data... | |
| suno.go | Loading commit data... | |
| task.go | Loading commit data... |