-
[OPIK-5964] [FE] fix: highlight added/removed prompts in agent config diff (#6497)
发布于
2026-04-27 13:22:48 +00:00 -
Prompts addition/deletion in config should be highlighed
-
fix(agent-config): treat empty prompt template as present in diff guards
Use
template !== undefinedinstead of!!templateforhasBase/hasDiff,
so an intentionally empty inline template renders the colored
add/remove cell instead of the neutral empty placeholder. Aligns with the
existing=== undefinedchecks used elsewhere inPromptDiffPair.Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件
-