fix(web): Fix AWEL workflow JSON response format issue#2879
Open
WangzJi wants to merge 4 commits intoeosphoros-ai:mainfrom
Open
fix(web): Fix AWEL workflow JSON response format issue#2879WangzJi wants to merge 4 commits intoeosphoros-ai:mainfrom
WangzJi wants to merge 4 commits intoeosphoros-ai:mainfrom
Conversation
…format issues This commit addresses two main issues reported in eosphoros-ai#2859: 1. **Multiple Chat Windows**: AWEL workflows were creating a new conversation window for each interaction instead of reusing the same conversation. Fixed by changing chat_mode from 'chat_agent' to 'chat_flow' when initializing flow conversations. 2. **JSON Response Display**: AWEL workflow responses were displaying as raw JSON instead of properly formatted content. Added specific handling for 'chat_flow' scene in response processing to extract and format content appropriately. Changes: - web/components/flow/flow-card.tsx: Use correct chat_mode for flow conversations - web/hooks/use-chat.ts: Add chat_flow scene handling for response formatting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
… JSON and preserve user-selected chart type; normalize history on refresh; force chat_flow when select_param is present; strip 'data:' prefix and normalize newlines;
reusing conversation IDs and updating dialogue creation logic
Contributor
Author
|
@chenliang15405 PTAL. |
15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
fixes: #2859
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Snapshots:
Include snapshots for easier review.
Checklist: