Commit 6ef4548
Fix model-element assets getting duplicated directory on copy (#18)
When copying model-element assets, log_model() was called with the
file's basename as the model name (e.g., "model.onnx"), causing a
duplicate folder structure like model.onnx/model.onnx. Instead, use
_log_asset() directly with the correct grouping_name extracted from
the asset's "dir" metadata field, stripping the "models/" prefix
that the backend adds automatically.
Co-authored-by: Douglas Blank <doug@comet.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4865340 commit 6ef4548
1 file changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
1359 | | - | |
1360 | | - | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
1361 | 1376 | | |
1362 | | - | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
1363 | 1380 | | |
1364 | 1381 | | |
1365 | 1382 | | |
| |||
0 commit comments