mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
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:
parent
a25937c9cb
commit
7166762221
@ -728,10 +728,11 @@ describe('reasoning utils', () => {
|
|||||||
const result = getGeminiReasoningParams(assistant, model)
|
const result = getGeminiReasoningParams(assistant, model)
|
||||||
expect(result).toEqual({
|
expect(result).toEqual({
|
||||||
thinkingConfig: {
|
thinkingConfig: {
|
||||||
thinkingBudget: 16896,
|
thinkingBudget: expect.any(Number),
|
||||||
includeThoughts: true
|
includeThoughts: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
expect(result.thinkingConfig.thinkingBudget).toBeGreaterThan(0)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should enable thinking without budget for auto effort ratio > 1', async () => {
|
it('should enable thinking without budget for auto effort ratio > 1', async () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user