-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
De-serialization error using AssistantClient streaming #200
Comments
Seeing this in beta.3 as well and tried upgrading to beta.10. It seems to me there have been changes in the API, since beta.3 has been working very well for months. I wrote a foum post in openai forums about this as well. https://community.openai.com/t/invalid-json-in-assistants-streaming-with-annotations/926883 |
I am having the same problem since yesterday. It worked fine before for weeks. I'm with beta.7. |
This has been fixed as part of this PR: 🔗 #206 We also just pushed a release today, so the fix is now live starting with version 2.0.0-beta.11: Thank you! |
.On 4 Sept 2024 12:52, SatoshiMorinaga ***@***.***> wrote:
I tried it with beta11 and got the same error. Has anyone had the issue resolved with beta11?
Works great for me with 11
|
Confirm this is not an issue with the underlying OpenAI API
Confirm this is not an issue with Azure OpenAI
Describe the bug
Using the AssistantClient with file search enabled and streaming gives the error: The requested operation requires an element of type 'String', but the target element has type 'Object'.'
The exception is raised here:
openai-dotnet/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs
Line 115 in 79014ab
To Reproduce
Code snippets
OS
Windows 11
.NET version
net8.0
Library version
2.0.0-beta.10
The text was updated successfully, but these errors were encountered: