feat(babysitting): make unstable-agent-babysitter always-on by default
Remove the 'enabled' flag from babysitting config - the hook now runs automatically when not disabled via disabled_hooks. This simplifies configuration and makes the unstable model monitoring a default behavior. BREAKING CHANGE: babysitting.enabled config option is removed. Use disabled_hooks: ['unstable-agent-babysitter'] to disable the hook instead.
This commit is contained in:
+2
-3
@@ -291,9 +291,8 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
|
||||
})
|
||||
: null;
|
||||
|
||||
const unstableAgentBabysitter =
|
||||
isHookEnabled("unstable-agent-babysitter") && pluginConfig.babysitting?.enabled === true
|
||||
? createUnstableAgentBabysitterHook(
|
||||
const unstableAgentBabysitter = isHookEnabled("unstable-agent-babysitter")
|
||||
? createUnstableAgentBabysitterHook(
|
||||
{
|
||||
directory: ctx.directory,
|
||||
client: {
|
||||
|
||||
Reference in New Issue
Block a user