William Matthews

Results 8 issues of William Matthews

While using this library, I found myself using `NewXXXTextMessage`, `NewUserImageMessage` a lot, but wondered why there was no similar constructor for multi-system messages. This PR adds this functionality with a...

Hello, Sorry for 'spamming' this repo with PRs, I thought it would be sensible to keep them small and separate. In this PR I've proposed some changes to the feature...

Hello, I have made this PR, which introduces a few small QoL changes to the posthog-go repo: 1. [Error messages should be lowercase](https://staticcheck.dev/docs/checks#ST1005) as they are typically wrapped. 2. Use...

As of Go 1.16, `ioutil` has been deprecated. This PR replaces ioutil-based methods with corresponding ones from `io`. https://pkg.go.dev/io/ioutil ``` Package ioutil implements some I/O utility functions. Deprecated: As of...

https://docs.anthropic.com/en/docs/resources/model-deprecations Claude 1 models are deprecated as of September 4, 2024 and will be retired on November 6, 2024. Closes #24 This PR removes all references to Claude 1 models,...

This is a bit of an opinionated change (feel free to completely reject), but I think using [testify](https://github.com/stretchr/testify) may help with test quality (in terms of readability, DRY, lines of...

I received a notice this morning about Claude 1 being deprecated. A deprecation warning may be useful if a Claude 1 model is used. ![image](https://github.com/user-attachments/assets/de0f1cc2-320c-406c-9f88-5ad3a00767fc)

**Describe the bug** If you upload an animated image (e.g. a `.gif`) and convert it to another image format using imagemagick (e.g. a `.jpg`) the conversion succeeds and I am...

bug