Skip to content

Bugfix: 修复conversation无法删除的问题,设置修改conversation title的样式 - #3785

Merged
WMC001 merged 82 commits into
developfrom
xyq/feat_newagents
Aug 26, 2026
Merged

Bugfix: 修复conversation无法删除的问题,设置修改conversation title的样式#3785
WMC001 merged 82 commits into
developfrom
xyq/feat_newagents

Conversation

@xuyaqist

Copy link
Copy Markdown
Contributor
  1. 设置“智能生成”和“调试” panel在关闭时仅隐藏,而非销毁,避免用户关闭panel,生成的内容消失
  2. 设置sql 支持幂等执行
  3. 修复频繁调用check_name接口
  4. 优化对话时的图片渲染
  5. 修复conversation无法删除的问题,设置修改conversation title的样式

xuyaqist and others added 30 commits August 13, 2026 11:18
# Conflicts:
#	backend/services/tool_configuration_service.py
Copilot AI lite review requested due to automatic review settings August 26, 2026 09:17
@xuyaqist xuyaqist changed the title 修复conversation无法删除的问题,设置修改conversation title的样式 Bugfix: 修复conversation无法删除的问题,设置修改conversation title的样式 Aug 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread deploy/sql/migrations/v2.5.0_0817_add_agent_is_a2a.sql
Comment thread deploy/sql/migrations/v2.5.0_0817_add_agent_is_a2a.sql
@WMC001
WMC001 merged commit 186cfe0 into develop Aug 26, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants