Mocking CompleteChatStreamingAsync #374
Unanswered
ethan-christensen-cag
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I am just reaching out to see if there is any experience with mocking CompleteChatStreamingAsync with OpenAI Chat. I am wanting to test a service that utilizes OpenAI ChatClients CompleteChatStreamingAsync, though I can never seem to make it work.
My service consumes an instance of ChatClient which I am trying to Mock.
But am always having trouble mocking the streaming response with error:
with this section:
Beta Was this translation helpful? Give feedback.
All reactions