We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9cef22 commit 3d822e5Copy full SHA for 3d822e5
1 file changed
packages/opencode/src/config/config.ts
@@ -141,17 +141,6 @@ export namespace Config {
141
142
if (!result.keybinds) result.keybinds = Info.shape.keybinds.parse({})
143
144
- // Only validate if user has configured agents - if none configured, built-in agents will be used
145
- if (Object.keys(result.agent).length > 0) {
146
- const primaryAgents = Object.values(result.agent).filter((a) => a.mode !== "subagent" && !a.hidden && !a.disable)
147
- if (primaryAgents.length === 0) {
148
- throw new InvalidError({
149
- path: "config",
150
- message: "No primary agents are available. Please configure at least one agent with mode 'primary' or 'all'.",
151
- })
152
- }
153
154
-
155
return {
156
config: result,
157
directories,
0 commit comments