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

[BUG] SSE Streaming Bugs for multiple tools #3222

Closed
hahl9000 opened this issue Sep 19, 2024 · 3 comments · Fixed by #3257
Closed

[BUG] SSE Streaming Bugs for multiple tools #3222

hahl9000 opened this issue Sep 19, 2024 · 3 comments · Fixed by #3257
Labels
bug Something isn't working

Comments

@hahl9000
Copy link

Describe the bug
When using chains as tools the new version streams both an answer that tool 1 doesnt know and then streams tool 2 answer. It doesnt adhere to my system prompt anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Create 2 tools from flows. One that doesnt know and one which does.
  2. Ask it to always use tool 1 first. If tool 1 doesnt know then use tool 2.
  3. Embed to a page, ask questions that tool 2 knows and then it will stream both that it doesnt know and right after the answer.
  4. See output.

Expected behavior
To be able to sort out the answer that doesnt know. Prompt adherence seems off and it worked great in previous version.

Screenshots
If applicable, add screenshots to help explain your problem.

Flow
If applicable, add exported flow in order to help replicating the problem.

Setup

  • Installation [render]
  • Flowise Version [flowise 2.1.1, embed 2.0.1]
  • OS: [Windows]
  • Browser [chrome]

Additional context
Worked better in previous version. Creates a problem with to flowtools that should complement each other.

@HenryHengZJ
Copy link
Contributor

Do you have an example chatflow we can use to replicate?

@HenryHengZJ HenryHengZJ added the bug Something isn't working label Sep 19, 2024
@HenryHengZJ HenryHengZJ changed the title [BUG] [BUG] SSE Streaming Bugs for multiple tools Sep 19, 2024
@hahl9000
Copy link
Author

No, I've looked into it and from what I can see, even though its a bit laggy the test chat concatenates the answer and remove the streaming answer from the tool that doesn't know. I'm thinking this could be an issue with the latest embed instead?

@alper1969
Copy link

Hi, yes there is a big problem in streaming. For instance socket.io waiting in 101 pending status after response.
Appreciate if you can solve this issue asap.
BR

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.

3 participants