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

Function createModeWithEffort

cli/src/opencode/opencodeRemoteLauncher.test.ts:96–102  ·  view source on GitHub ↗
(model: string | undefined, modelReasoningEffort: string | null)

Source from the content-addressed store, hash-verified

94}
95
96function createModeWithEffort(model: string | undefined, modelReasoningEffort: string | null): OpencodeMode {
97 return {
98 permissionMode: 'default' as PermissionMode,
99 model,
100 modelReasoningEffort
101 };
102}
103
104function createResetMode(): OpencodeMode {
105 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected