parent
d47cb6c182
commit
f35fb02b23
|
|
@ -169,7 +169,7 @@ export async function call(
|
||||||
|
|
||||||
if (COMMON_HELP_ARGS.includes(args)) {
|
if (COMMON_HELP_ARGS.includes(args)) {
|
||||||
onDone(
|
onDone(
|
||||||
'Usage: /effort [low|medium|high|max|auto]\n\nEffort levels:\n- low: Quick, straightforward implementation\n- medium: Balanced approach with standard testing\n- high: Comprehensive implementation with extensive testing\n- max: Maximum capability with deepest reasoning (Opus 4.6 only)\n- auto: Use the default effort level for your model',
|
'Usage: /effort [low|medium|high|max|auto]\n\nEffort levels:\n- low: Quick, straightforward implementation\n- medium: Balanced approach with standard testing\n- high: Comprehensive implementation with extensive testing\n- max: Maximum capability with deepest reasoning\n- auto: Use the default effort level for your model',
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -223,6 +223,12 @@ describe("getEffortLevelDescription", () => {
|
||||||
const desc = getEffortLevelDescription("max");
|
const desc = getEffortLevelDescription("max");
|
||||||
expect(desc).toContain("Maximum");
|
expect(desc).toContain("Maximum");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test("max description does not contain model names", () => {
|
||||||
|
const desc = getEffortLevelDescription("max");
|
||||||
|
expect(desc).not.toContain("Opus");
|
||||||
|
expect(desc).not.toContain("DeepSeek");
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// ─── resolvePickerEffortPersistence ────────────────────────────────────
|
// ─── resolvePickerEffortPersistence ────────────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -226,7 +226,7 @@ export function getEffortLevelDescription(level: EffortLevel): string {
|
||||||
case 'high':
|
case 'high':
|
||||||
return 'Comprehensive implementation with extensive testing and documentation'
|
return 'Comprehensive implementation with extensive testing and documentation'
|
||||||
case 'max':
|
case 'max':
|
||||||
return 'Maximum capability with deepest reasoning (Opus 4.6 only)'
|
return 'Maximum capability with deepest reasoning'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user