Repository navigation
Add Agents and Tiers rows to SWARM form with per-run tier rebinding - #380
Merged
Merged
Conversation
Adds --tier-client and --tier-effort to gaviero-cli, backed by a TierOverride type and compile_file_with_models in the DSL that point a tier at another client of the same profile or change its effort for one run. Also adds profile and agent inspection helpers and documents the flags, with tests covering rebinding, added tiers and error cases.
The SWARM form now reads the selected profile and lets the user change each agent's tier and each tier's client and effort, passing only changed rows to the run as tier overrides. The form uses a choice list popup for these rows, and the TUI docs describe the new behavior.
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
Lets a swarm run rebind tiers to other clients and efforts of the selected profile, and exposes that in the TUI SWARM form through new Agents and Tiers rows. The CLI gains matching
--tier-client/--tier-effortflags.Changes
profile.rs,inspect.rs,lib.rs): profile merging now supports per-run rebinding of a tier to another client and/or effort. Rebinding is limited to clients declared in the selected profile.inspect.rsgains additional inspection support (+216 lines) for the form. New tests intests/profiles.rs.main.rs): new--tier-client <tier>=<client>and--tier-effort <tier>=<effort>options, applied on top of the selected profile for one run.swarm_dashboard.rs,swarm_run.rs,prompt_input.rs): SWARM form gets Agents and Tiers rows for editing each agent's tier and each tier's client/effort. Run wiring passes the overrides through. Smallprompt_inputadjustment.CLAUDE.md, per-crateCLAUDE.mdfiles and the CLI/DSL READMEs updated to describe the new flags and form rows.Testing
git diff --check origin/main...HEADcargo test— skipped (not run for this PR description)Risks / Notes
crates/gaviero-dsl/tests/profiles.rshave not been verified here.swarm_dashboard.rs) and have no verification beyond the diff check; a manual check of the SWARM panel is advisable.