mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
docs: effort 级别描述去掉模型名限制
This commit is contained in:
@@ -224,6 +224,22 @@ describe('getEffortLevelDescription', () => {
|
||||
const desc = getEffortLevelDescription('max')
|
||||
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')
|
||||
})
|
||||
|
||||
test("returns description for 'xhigh'", () => {
|
||||
const desc = getEffortLevelDescription('xhigh')
|
||||
expect(desc).toContain('Extended reasoning')
|
||||
})
|
||||
|
||||
test('xhigh description does not contain model names', () => {
|
||||
const desc = getEffortLevelDescription('xhigh')
|
||||
expect(desc).not.toContain('Opus')
|
||||
})
|
||||
})
|
||||
|
||||
// ─── resolvePickerEffortPersistence ────────────────────────────────────
|
||||
|
||||
@@ -262,9 +262,9 @@ export function getEffortLevelDescription(level: EffortLevel): string {
|
||||
case 'high':
|
||||
return 'Comprehensive implementation with extensive testing and documentation'
|
||||
case 'xhigh':
|
||||
return 'Extended reasoning beyond high, short of max (Opus 4.7 only)'
|
||||
return 'Extended reasoning beyond high, short of max'
|
||||
case 'max':
|
||||
return 'Maximum capability with deepest reasoning (Opus 4.6/4.7/DeepSeek V4 Pro)'
|
||||
return 'Maximum capability with deepest reasoning'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user