Setting KeepAlive with SendAsync/SendAsAsync #232
Replies: 1 comment
|
@StarbuckSapien From what I can see, you're not missing an obvious overload.
That means there are a few possibilities:
If you specifically need control over model lifetime, I'd recommend checking whether there's an overload that accepts a fully constructed
That would keep the convenience API easy to use while still exposing the full capabilities of the underlying request model. If a maintainer can confirm this isn't already supported, I'd say it's a worthwhile enhancement to add. If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
I see that the
ChatRequesthas aKeepAliveproperty, but I don't see a way to set that when callingSendAsync. TheSendAsAsyncmethod creates a newChatRequestobject but does not set theKeepAlivevalue. Am I missing some other way to setKeepAliveforSendAsync?All reactions