fix: support cancelled task state (#775)
This commit is contained in:
parent
f7d6175283
commit
a2fa7ffa42
2 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue