Repository navigation
Allow a separate model for testing agents - #339
Open
zwanski-start wants to merge 1 commit into
Open
zwanski-start wants to merge 1 commit into
zwanski-start wants to merge 1 commit into
Conversation
Add --testing-model to autonomous_agent_demo.py and parallel_orchestrator.py, a global testing_model setting (Claude provider only), API/schema support, and a Testing Agent Model selector in the settings UI. Co-Authored-By: Claude Opus 5.5 <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.
Closes #146
What changed
--testing-modelonautonomous_agent_demo.pyandparallel_orchestrator.py. Testing agents get--model <testing_model>. Coding and initializer agents keep using--model. If you don't set it, testing agents use the coding model, so nothing changes by default.testing_modelsetting.""clears it, which means "same as coding". It is validated againstVALID_MODELS, and legacy IDs are migrated.registry.get_testing_model_setting()resolves it.SettingsResponse/SettingsUpdate/AgentStartRequestgaintesting_model.ProcessManager.start()falls back to the global setting, so both manual and scheduled starts pick it up.Assumptions
api_model, so a second model would have no effect. The selector is hidden for those providers.Verification
test_testing_model.py(10 tests): checks the spawned commands for coding and testing agents, how the setting is resolved, and schema validation.npm run linthas no errors (6 warnings that were already there).npm run buildsucceeds.🤖 Generated with Claude Code