[Feat] Allow choosing a model for custom automations - #987
Merged
Conversation
Contributor
|
No code issues found. See task
Reviewed c301599 |
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.
What changed
custom_automations.modelcolumn (validatedprovider/modelformat) and show it on each automation row.task.harness+payload.harnessModelOverrides), shared with the Slack!evallauncher and the programmatic task-launch API.modelin themanage_custom_automationsMCP tool and REST handler: set on create, preserve when omitted on update, and clear with an explicitnull.Why this change was made
Custom automations are recurring workloads where the cost/quality tradeoff is known per job: a nightly summary can run on a cheap model while a weekly security audit warrants the strongest one. That variance lives per automation, so a deployment-wide default with a per-automation override fits better than a single global choice.
Impact
Admins can pin a model per custom automation from the web editor or through Roomote MCP, while every existing automation keeps following the deployment default until one is chosen. The override reuses the launch-time harness override path, so run behavior is identical to launching an ad-hoc task with that model. Older application versions ignore the new nullable column, preserving the N-1 rollback guarantee.