mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +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 ────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user