Skip to content

Commit 3162a2c

Browse files
committed
added model print on diagnostics
1 parent 07d5782 commit 3162a2c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

compute/src/node/diagnostic.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ impl DriaComputeNode {
4343
));
4444
}
4545

46+
// print models
47+
diagnostics.push(format!(
48+
"Models: {}",
49+
self.config
50+
.workflows
51+
.models
52+
.iter()
53+
.map(|(p, m)| format!("{}/{}", p, m))
54+
.collect::<Vec<String>>()
55+
.join(", ")
56+
));
57+
4658
// print version
4759
diagnostics.push(format!("Version: v{}", DRIA_COMPUTE_NODE_VERSION));
4860

0 commit comments

Comments
 (0)