Update src/renderer/src/aiCore/utils/__tests__/reasoning.test.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
SuYao 2025-12-18 02:40:25 +08:00 committed by GitHub
parent eaf802d37b
commit a25937c9cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ vi.mock('@renderer/config/models', async (importOriginal) => {
isSupportedThinkingTokenHunyuanModel: vi.fn(() => false),
isSupportedThinkingTokenModel: vi.fn(() => false),
isGPT51SeriesModel: vi.fn(() => false),
findTokenLimit: vi.fn(() => ({ min: 1024, max: 32768 }))
findTokenLimit: vi.fn(actual.findTokenLimit)
}
})