OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Strict Concurrency Checking

Open nibe opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

With strict concurrency checking enabled, I get several warnings both inside this library and in my code when using it. For example, ChatQuery and ChatResult are not Sendable for use with the async chats function. I can suppress the warnings by adding @preconcurrency to the import but I wonder if that's really safe.

Describe the solution you'd like

Strict concurrency support would be nice.

nibe avatar Apr 29 '24 12:04 nibe