Skip to content
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

SendAudioAsync does not set 'isSendingAudio' back to false #268

Open
onionhammer opened this issue Oct 27, 2024 · 1 comment · May be fixed by #269
Open

SendAudioAsync does not set 'isSendingAudio' back to false #268

onionhammer opened this issue Oct 27, 2024 · 1 comment · May be fixed by #269
Labels
bug Something isn't working

Comments

@onionhammer
Copy link

onionhammer commented Oct 27, 2024

Service

OpenAI

Describe the bug

public async Task SendAudioAsync(BinaryData audio, CancellationToken cancellationToken = default)

In the 'BinaryData' overload, subsequent calls will fail with exception since _isSendingAudio is not set back to false as it does in the memorystream overload

Steps to reproduce

This is appears to be a logical/code error

Code snippets

No response

OS

.NET version

.NET 8

Library version

2.1.0-*

@onionhammer
Copy link
Author

How is this still not fixed? Isn't there a failing test suite somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant