Skip to content

a run is active - exception (c#, open AI assistant) #9633

Answered by crickman
JP-droidic asked this question in Q&A
Discussion options

You must be logged in to vote

HI @JP-droidic - On the surface this seems to indicate the perhaps the user message is being added while the run is still active. I might double check any potential concurrency issues and also verify that the all of the (IAsyncEnumerable) streamed responses have been processed.

Also, can you confirm whether you are targeting the Open AI endpoint or an Azure AI endpoint?

In the meantime, I'll setup a local stress test to explore this dynamic further. If I am able to reproduce this locally, it will aid in understanding what may be at play here.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sophialagerkranspandey
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
.NET Issue or Pull requests regarding .NET code agents
2 participants