Skip to content

🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2262 #2507#2600

Merged
WMC001 merged 5 commits intodevelopfrom
xyq/bugfix_frontend
Mar 3, 2026
Merged

🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2262 #2507#2600
WMC001 merged 5 commits intodevelopfrom
xyq/bugfix_frontend

Conversation

@xuyaqist
Copy link
Contributor

@xuyaqist xuyaqist commented Mar 2, 2026

#2355 Bugfix: Agent generation occasionally fails to set the duty field
#2262

20260302-165139.mp4

#2507
#2602 使用缓存的agent list来校验agent name的唯一性。避免频繁调用agent list接口,
image

@xuyaqist xuyaqist requested review from Phinease and WMC001 as code owners March 2, 2026 08:26
- Replace JSON.stringify comparison with deep comparison of tool IDs and initParams
- Always recalculate hasUnsavedChanges instead of preserving previous state
- This ensures that selecting then deselecting a tool correctly shows no changes
@xuyaqist xuyaqist changed the title Bugfix: Agent generation occasionally fails to set the duty field #2355 🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2266 Mar 2, 2026
@xuyaqist xuyaqist changed the title 🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2266 🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2262 Mar 2, 2026
xuyaqist added 2 commits March 2, 2026 17:06
Only return enabled tools when querying agent version details.
This fixes the issue where disabled tools were being displayed in
version snapshots even when users did not select them during publish.

Modified:
- get_version_detail_impl: filter tools by enabled=True
- _get_version_detail_or_draft: filter tools by enabled=True
@xuyaqist xuyaqist changed the title 🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2262 🐛 Bugfix: Agent generation occasionally fails to set the duty field #2355 #2262 #2507 Mar 2, 2026
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@WMC001 WMC001 merged commit d9f8f32 into develop Mar 3, 2026
15 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.

2 participants