Fork tasks from snapshots; snapshot only when text follows tool calls
This commit is contained in:
@@ -531,6 +531,9 @@ func (m *Manager) listTasksText(ctx context.Context) (string, error) {
|
||||
if t.TodoItem != nil {
|
||||
fmt.Fprintf(b, "; from TODO item %q", *t.TodoItem)
|
||||
}
|
||||
if t.ForkedFrom != nil {
|
||||
fmt.Fprintf(b, "; forked from %s at snapshot %d", *t.ForkedFrom, *t.ForkedAt)
|
||||
}
|
||||
b.WriteString("\n")
|
||||
}
|
||||
if !listed {
|
||||
|
||||
Reference in New Issue
Block a user