-
refactor: Update Message methods to use pointer receivers
Some checks failedPublish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelledPublish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelledLinux Release / release (push) Has been cancelledmacOS Release / release (push) Has been cancelledWindows Release / release (push) Has been cancelledreleased this
2024-12-22 16:30:18 +08:00 | 3763 commits to main since this release- Refactored ParseToolCalls, SetToolCalls, IsStringContent, and ParseContent methods in the Message struct to use pointer receivers, improving efficiency and consistency in handling mutable state.
- Enhanced code readability and maintainability by ensuring all relevant methods operate on the pointer receiver, aligning with Go best practices.
Downloads