dify icon indicating copy to clipboard operation
dify copied to clipboard

Feat agent mask

Open ZeroZ-lab opened this issue 1 month ago • 2 comments

[!IMPORTANT]

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

fix #27887

Screenshots

Before After
... CleanShot 2025-11-05 at 19 39 35
CleanShot 2025-11-05 at 19 39 50

CleanShot 2025-11-05 at 19 40 31

only 1 tools

CleanShot 2025-11-05 at 19 45 26

If the conditions are met, call two tools. CleanShot 2025-11-05 at 19 47 12

Checklist

  • [ ] This change requires a documentation update, included: Dify Document
  • [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [x] I've updated the documentation accordingly.
  • [x] I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

ZeroZ-lab avatar Nov 05 '25 11:11 ZeroZ-lab

/gemini review

ZeroZ-lab avatar Nov 05 '25 11:11 ZeroZ-lab

It might be better to simplify the logic by combining these two areas into one, since they seem somewhat redundant. Either way, it's a really nice feature! CleanShot 2025-11-12 at 10 29 52@2x

fdb02983rhy avatar Nov 12 '25 01:11 fdb02983rhy