tghamm / Anthropic.SDK

An unofficial C#/.NET SDK for accessing the Anthropic Claude API
https://www.nuget.org/packages/Anthropic.SDK
MIT License
55 stars 10 forks source link

Support for CancellationToken #13

Closed jerome-zenfolio closed 6 months ago

jerome-zenfolio commented 1 year ago

Hi @tghamm, thank you for all the hard work this repo. Do you have any plans to support CancellationToken for Completion methods?

tghamm commented 12 months ago

@jerome-zenfolio Yeah I can probably work that in.

tghamm commented 6 months ago

Support has been added in the latest release, along with a move to the Messages API endpoints (Completions are still supported).

jerome-zenfolio commented 6 months ago

Thank you kindly!