feat(cli): add roll-call command for batch-testing model connectivity#7201
Open
cbrunnkvist wants to merge 9 commits intoKilo-Org:mainfrom
Open
feat(cli): add roll-call command for batch-testing model connectivity#7201cbrunnkvist wants to merge 9 commits intoKilo-Org:mainfrom
cbrunnkvist wants to merge 9 commits intoKilo-Org:mainfrom
Conversation
c204aaa to
fe98bc1
Compare
Contributor
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Other Observations (not in diff)None. Files Reviewed (3 files)
Reviewed by gpt-5.4-20260305 · 1,736,380 tokens |
Adds a new CLI command that allows users to test multiple models for connectivity and latency in parallel. This helps users discover which provider/model pairs are available and working. Features: - Filter models by regex pattern (e.g., 'kilo roll-call "free"') - Configurable prompt, timeout, and parallelization - JSON or table output formats - Verbose mode for real-time progress Closes Kilo-Org#6304
Reject non-positive --parallel values that would cause the scheduler to spin forever, and reject empty filter strings that would bypass the safety guard and fan out to every configured model.
Filter out models without text output capability (e.g. embeddings, image-only) since generateText is the wrong probe for them and would produce false negatives.
Extract isTextModel predicate and add tests covering multimodal, audio-only, image-only, and embedding models.
JSON and md modes emit clean data to stdout with no decoration. --quiet now only suppresses progress, never the result output. Add formatMarkdown and tests.
Escape | in markdown table cells to prevent broken rows. Add process.exitCode = 1 on the invalid regex path.
f4bfc12 to
3b747d9
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.
Summary
This PR adds a new
roll-callsubcommand that allows users to batch-test multiple models for connectivity and latency. This helps users discover which provider/model pairs are available and working.Features
Technical Details
The implementation:
ProviderTransformoptions (maxOutputTokens,temperature,topP,topK,providerOptions)Testing
Tested with various model filters:
Demonstrating truncation, error handling, color coding:
Related Issue
Closes #6304