fix: support cancelled task state (#775)

This commit is contained in:
Robb Currall
2025-07-08 16:33:39 -04:00
committed by GitHub
parent f7d6175283
commit a2fa7ffa42
2 changed files with 3 additions and 1 deletions

View File

@@ -422,6 +422,8 @@ func renderToolDetails(
switch todo["status"] {
case "completed":
body += fmt.Sprintf("- [x] %s\n", content)
case "cancelled":
body += fmt.Sprintf("- [~] %s\n", content)
// case "in-progress":
// body += fmt.Sprintf("- [ ] %s\n", content)
default: