Repository navigation
feat: experiment reads and model management - #54
Merged
Merged
Conversation
This was referenced Oct 7, 2026
jwric
force-pushed
the
feat/cli-read-api
branch
from
October 14, 2026 17:02
4ad0f57 to
1f0095d
Compare
| @@ -0,0 +1,11 @@ | |||
| use std::collections::HashMap; | |||
Member
There was a problem hiding this comment.
Why body module instead of request?
Member
Author
There was a problem hiding this comment.
body.rs holds the private serde schemas for request bodies, this is preexisting.
jwric
force-pushed
the
feat/cli-read-api
branch
from
October 14, 2026 20:51
1f0095d to
6742a87
Compare
- Experiment reads mirroring the server's handlers: list, get, latest, metric series, metric metadata, metric summary, activities, and the log query with its live-tail cursor. Responses also derive Serialize.
- Model wrappers mirroring the server's handlers: promote an experiment artifact to a version, list, set and remove aliases (with an optional expected current version), replace version metadata, delete a version, and list versions in every state. - `Client::download_from_url` streams a presigned URL into a writer, the counterpart of `upload_bytes_to_url`. - Model, artifact, dataset and project responses also derive Serialize. Model and project responses gain the fields the server sends (`display_name`, `aliases`, `profile_picture_url`, `created_at`), defaulted when absent.
- The bodies the client builds from method arguments (experiment creation, artifact file additions and completion, project creation, and the job queue request) move to private `body` modules as plain `pub` structs instead of `pub(crate)` ones in public modules. - The `console::job::request` module, which held only such a body, goes away.
jwric
force-pushed
the
feat/cli-read-api
branch
from
October 14, 2026 20:59
6742a87 to
dddeb82
Compare
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.
Experiment reads and model management for the
tracelCLI.Client::download_from_urlstreams a presigned URL into a writer.Serialize; model and project responses gain the fields the server sends.tracel-ai/tracel-cli#40 builds against this branch.