Skip to content

[BingAIClient issue] If the message type equals 'InternalLoaderMessage', some tokens will be missing. #527

@somanchiu

Description

@somanchiu

Describe the bug
If the message type equals 'InternalLoaderMessage', the constant value "difference" is incorrect. It will lost some tokens.

To Reproduce
Steps to reproduce the behavior:

  1. Use BingAIClient and send the message "Tell me a long story.".

Expected behavior
All tokens will passed to onProgress.

Screenshots
image

Node.js version (please complete the following information):

  • OS: Windows
  • Version: v20.11.0

Package version (please complete the following information):

  • 1.37.0

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions