MCPcopy Index your code
hub / github.com/tiann/hapi / createPlanMode

Function createPlanMode

cli/src/opencode/opencodeRemoteLauncher.test.ts:89–94  ·  view source on GitHub ↗
(model?: string)

Source from the content-addressed store, hash-verified

87}
88
89function createPlanMode(model?: string): OpencodeMode {
90 return {
91 permissionMode: 'plan' as PermissionMode,
92 model
93 };
94}
95
96function createModeWithEffort(model: string | undefined, modelReasoningEffort: string | null): OpencodeMode {
97 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected