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

Chat CommandRenderer does not handle custom callbacks properly #14458

Open
sdirix opened this issue Nov 15, 2024 · 0 comments
Open

Chat CommandRenderer does not handle custom callbacks properly #14458

sdirix opened this issue Nov 15, 2024 · 0 comments
Labels

Comments

@sdirix
Copy link
Member

sdirix commented Nov 15, 2024

Bug Description:

Steps to Reproduce:

  1. Within an agent, return a CommandChatResponseContentImpl only defining a custom callback, e.g. new CommandChatResponseContentImpl(undefined, customCallback);
  2. Observe that the command renderer is not invoked
  3. Observe that CommandChatResponseContent.is() called on such an instance will return false

Expected behavior

  1. The command renderer should be invoked
  2. CommandChatResponseContent.is shall return true for such an instance without a command but with a custom callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant