restore gitignore

This commit is contained in:
Kenny
2026-01-17 12:52:07 -05:00
parent 76508cfc7d
commit 3284371467
4 changed files with 55 additions and 66 deletions
+9
View File
@@ -99,6 +99,15 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
log(`Plugin load errors`, { errors: pluginComponents.errors });
}
if (!(config.model as string | undefined)?.trim()) {
throw new Error(
'oh-my-opencode requires a default model to be configured.\n' +
'Please set one in OpenCode:\n' +
' opencode config set model "provider/model-name"\n' +
'Example: opencode config set model "anthropic/claude-sonnet-4-5"'
)
}
const builtinAgents = createBuiltinAgents(
pluginConfig.disabled_agents,
pluginConfig.agents,