-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
The current Azure OpenAI streaming implementation skips white space (ie. space character token ID 220). All non-empty tokens should be streamed, including space characters. This is rare as most tokens are prefixed with a space by default, but still an issue in some cases (such as formatted markdown, code, etc).
To Reproduce
Steps to reproduce the behavior:
- Generate a response that would include space tokens (any sort of code)
- Space tokens are skipped
Expected behavior
Stream all non-empty generated tokens.
Screenshots
N/A
Platform
- OS: All
- IDE: All
- Language: C#
- Source: Introduced in .Net [BugFix] GenerateMessageStreamAsync Last Message Null #2917
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't working
Type
Projects
Status
Sprint: Done