chore: Update json mode implementation on CLI and add additional support#315
Open
blainekasten wants to merge 17 commits intonextfrom
Open
chore: Update json mode implementation on CLI and add additional support#315blainekasten wants to merge 17 commits intonextfrom
blainekasten wants to merge 17 commits intonextfrom
Conversation
Contributor
blainekasten
commented
Mar 26, 2026
- Drops the custom serializer
- Adds proper json mode/human mode for a few eval commands
Note that we still want to run tests, as these depend on the metadata.
* codegen metadata * chore: Add tests for CLI * Add a dry-run mode * Add tests for endpoints json mode * Add more json mode tests and fix some json mode integrations * add cli model list tests * add tests for model upload * remove dry-run, out of scope * Add tests for files * Add tests for endpoint creation, hardware listing, and model upload with improved environment configuration * fixes for cancel json * add tests for beta clusters * Add tests for jig * fix lints/formats * fix tests * Fix JSON mode with fine-tuning cancel * fix file retrieve short help * fix upload messaging for failed file checks * fix file upload json output * omit usage of deprecated param on ft delete * fix * print human text for humans when cancelling ft cancel job * fix lint --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
19641d9 to
716a736
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.