feat(model-lab): add model-lab command group (SDK 0.32.0)#606
Open
jack-edmonds-dd wants to merge 3 commits into
Open
feat(model-lab): add model-lab command group (SDK 0.32.0)#606jack-edmonds-dd wants to merge 3 commits into
jack-edmonds-dd wants to merge 3 commits into
Conversation
Implements the Model Lab API surface added in SDK 0.32.0: Projects: - list: list projects with optional filter/tags/sort/pagination - get: fetch a project by ID - star / unstar: mark projects as starred - artifacts: list project artifacts - facet-keys / facet-values: explore project facets Runs: - list: list runs with rich filtering (project, status, tags, params, parent) - get: fetch a run by ID - delete: delete a run - pin / unpin: pin runs for easy access - artifacts: list run artifacts with optional path prefix filter - facet-keys / facet-values: explore run facets All 16 operations registered in UNSTABLE_OPS. 18 unit tests, all passing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the Model Lab API surface added in SDK 0.32.0, exposing ML experiment projects and training runs via two subcommand groups.
Changes
pup model-lab projects(src/commands/model_lab.rs):list— list projects with optional filter/tags/sort/paginationget <project_id>— fetch a project by IDstar <project_id>/unstar <project_id>— mark projects as starredartifacts <project_id>— list project artifactsfacet-keys/facet-values— explore project facets (tag type)pup model-lab runs:list— list runs with rich filtering (project, status, tags, params, parent run)get <run_id>— fetch a run by IDdelete <run_id>— delete a runpin <run_id>/unpin <run_id>— pin runs for easy accessartifacts <run_id>— list run artifacts with optional path prefix filterfacet-keys/facet-values— explore run facets (parameter, attribute, tag, metric)All 16 operations registered in
UNSTABLE_OPS(src/client.rs). Also includes the pre-existing fix for a missingjqfield in a testConfiginitializer (src/config.rs) introduced in PR #590.Testing
cargo clippy --all-targets -- -D warningscleancargo fmt --checkclean🤖 Generated with Claude Code