alexrudall / anthropic

Anthropic (Claude) API + Ruby! 🤖🌌
MIT License
73 stars 20 forks source link

Support for messages endpoint #9

Closed duncantmiller closed 2 months ago

duncantmiller commented 3 months ago

Since the complete endpoint is now depricated and Anthropic is recommending migrating to messages, are there any plans to add support for the new messages endpoint?

alexrudall commented 3 months ago

@duncantmiller - I would welcome a PR on this!

alexrudall commented 3 months ago

@duncantmiller could you review this? https://github.com/alexrudall/anthropic/pull/10

svs commented 3 months ago

I also took a shot. Slightly slower and hopefully less dirty :-)

https://github.com/alexrudall/anthropic/pull/11

jtoy commented 3 months ago

can we merge this please

alexrudall commented 2 months ago

Released in v0.2 - thanks all for your contributions!