• refactor: Update Message methods to use pointer receivers
    Some checks failed
    Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
    Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
    Linux Release / release (push) Has been cancelled
    macOS Release / release (push) Has been cancelled
    Windows Release / release (push) Has been cancelled

    Ghost released 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