Skip to content

Metadata from model#94

Merged
mduncans merged 4 commits intomainfrom
metadata-from-model
Feb 18, 2026
Merged

Metadata from model#94
mduncans merged 4 commits intomainfrom
metadata-from-model

Conversation

@mduncans
Copy link
Collaborator

get ModelMetadata from model object

@mduncans mduncans requested a review from Keats February 18, 2026 21:40
let model_path = resolve_model_path(&input)?;
let (model_name, model_dir) = validate_model_path(&model_path)?;
let metadata_path = model_dir.join(format!("{model_name}_metadata.json"));
let metadata_path = model_dir.join(format!("{}{}", model_name, METADATA_FILENAME_SUFFIX));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just put them in the braces directly

@mduncans mduncans merged commit 3c981d8 into main Feb 18, 2026
3 checks passed
@mduncans mduncans deleted the metadata-from-model branch February 18, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants