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

fix(chat): Extract text output of the QA node in hosted chat #13653

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

burivuhster
Copy link
Contributor

Summary

The QA Chain Node returns a data structure different from other chains or agents. This leads to hosted chat showing JSON instead of the plain text. This PR adds a check for the QA node's format before the JSON fallback.

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Copy link

codecov bot commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/frontend/@n8n/chat/src/plugins/chat.ts 20.00% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Mar 3, 2025
@burivuhster burivuhster marked this pull request as ready for review March 4, 2025 08:11
@burivuhster burivuhster requested a review from OlegIvaniv March 4, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant