Bugfix: 修复conversation无法删除的问题,设置修改conversation title的样式 - #3785
Merged
Conversation
xuyaqist
commented
Aug 26, 2026
Contributor
- 设置“智能生成”和“调试” panel在关闭时仅隐藏,而非销毁,避免用户关闭panel,生成的内容消失
- 设置sql 支持幂等执行
- 修复频繁调用check_name接口
- 优化对话时的图片渲染
- 修复conversation无法删除的问题,设置修改conversation title的样式
# Conflicts: # backend/services/tool_configuration_service.py
xuyaqist
requested review from
Dallas98,
WMC001 and
jeffwu-1999
as code owners
August 26, 2026 09:17
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Nexent frontend chat/agent UI to improve conversation operations (rename/delete), reduce redundant name-conflict checks, and improve image rendering/layout, plus adjusts a SQL migration to be more resilient when rerun across slightly different schemas.
Changes:
- Reduce
check_name(agent name conflict) validation frequency by moving conflict validation to trigger on blur in the Create Agent modal. - Improve assistant message image grouping/layout and thread list rename/delete robustness by tracking the “pending” thread operation during sidebar switching.
- Keep “智能生成 / 调试” panels mounted (hide instead of unmount) to prevent generated/debug content from disappearing on close.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/components/agent/CreateAgentModal.tsx | Adjusts form validation triggers to reduce name-conflict API calls. |
| frontend/app/[locale]/newchat/assistant-ui/thread.tsx | Adds image grouping container and updates global search image layout styles. |
| frontend/app/[locale]/newchat/assistant-ui/thread-list.tsx | Tracks pending thread operations during rename/delete; refines inline rename editor layout. |
| frontend/app/[locale]/newchat/adapter/conversation-thread-list-adapter.tsx | Uses pending thread id to resolve server conversation id more reliably during operations. |
| frontend/app/[locale]/agents/page.tsx | Hides (instead of unmounting) generation/debug panels to preserve state/content. |
| deploy/sql/migrations/v2.5.0_0817_add_agent_is_a2a.sql | Wraps data backfill in a conditional DO block for idempotence across schema variants. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
WMC001
approved these changes
Aug 26, 2026
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.