The model selects the harness; the operator owns the model - #402
Merged
Conversation
czpython
force-pushed
the
commonzenpython/provider-catalogs
branch
4 times, most recently
from
September 2, 2026 17:29
c718acc to
64a51cd
Compare
czpython
force-pushed
the
commonzenpython/model-selects-harness
branch
from
September 2, 2026 17:35
52ac8b8 to
19d2077
Compare
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
czpython
force-pushed
the
commonzenpython/model-selects-harness
branch
2 times, most recently
from
September 2, 2026 18:00
5c86c2d to
16e8cef
Compare
Dispatch resolves the login first and picks the first registered harness that accepts it (get_harness_for_login); run_agent takes the model and the login id and resolves the same way, and harnesses receive the login they render. One default model lives on user_settings.default_model and replaces the per-harness harnesses.model; PATCH /api/settings sets it. Agent loses its model and effort declarations — an agent runs the operator's default model with its harness's effort, and the per-agent overrides in Settings are how one agent differs. timeout stays declarable. Settings UI: the default model moves to General; the harness cards lose their model select. Migration c9d1e3f5a7b2 seeds user_settings.default_model from the claude row and drops harnesses.model.
czpython
force-pushed
the
commonzenpython/model-selects-harness
branch
from
September 2, 2026 18:01
16e8cef to
e6db58a
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.
The model selects the harness, and the operator owns the model.
ProviderLogin.lookup, which also reads a selected row fresh), thenget_harness_for_login(login): the first registered harness that accepts it.run_agenttakes the model and the login id and resolves the same way; harnesses receive the login they render.user_settings.default_model(provider/model) replaces the per-harnessharnesses.model.PATCH /api/settingssets it afterget_harness_for_modelaccepts it. Harness rows keep effort, timeout, and fast mode.Agentlosesmodelandeffort. An agent runs the operator's default model (UserSettings.get_default_model) with its harness's effort; the per-agent overrides in Settings are how one agent differs.timeoutstays declarable. The bundled apps and the proof app drop the declarations.c9d1e3f5a7b2: addsuser_settings.default_model(seeded from the claude row), dropsharnesses.model.🤖 Generated with Claude Code