feat(dashboard): show system prompt per role #269
Reference in New Issue
Block a user
Delete Branch "feat/show-system-prompt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
每个 workflow 角色节点展示其 system prompt。
Why
之前 dashboard 只显示 description 和 schema,看不到角色的 system prompt,不方便调试和理解 workflow 逻辑。
Changes
WorkflowRoleDescriptor增加systemPrompt: stringbuildDescriptor传递systemPrompt;validateWorkflowDescriptor接受并解析该字段(向后兼容,缺失时默认空串)<details>可折叠展示 system prompt,默认收起注:已有 bundle 没有 systemPrompt 字段会 fallback 为空串,不影响现有数据。
LGTM ✅ 全链路一致,向后兼容好,折叠 UI 合理。