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

Is there a way to get a sync response? #40

Closed sandybhat16 closed 1 month ago

sandybhat16 commented 1 month ago

Currently the library returns async, but I want to use a synchronous call to retrieve the response as I need to iterate through a list of strings and process in same order. Is there a possibility?

tghamm commented 1 month ago

Just call .Result :)