feat: consume server model reasoning capabilities
This commit is contained in:
@@ -13,6 +13,7 @@ import { atomicWriteJson } from '../../electron/coding-projects/atomic-json';
|
||||
import {
|
||||
createCodingProjectAgent,
|
||||
createCodingProjectConfigV2,
|
||||
normalizeProductModelRef,
|
||||
readCodingProjectConfigV2,
|
||||
} from '../../electron/coding-projects/project-config';
|
||||
import {
|
||||
@@ -54,6 +55,18 @@ afterEach(async () => {
|
||||
});
|
||||
|
||||
describe('coding project schema v2', () => {
|
||||
it('accepts the native max thinking level in a project model reference', () => {
|
||||
expect(normalizeProductModelRef({
|
||||
accountId: 'account-local',
|
||||
modelId: 'deepseek-v4-pro',
|
||||
thinkingLevel: 'max',
|
||||
})).toEqual({
|
||||
accountId: 'account-local',
|
||||
modelId: 'deepseek-v4-pro',
|
||||
thinkingLevel: 'max',
|
||||
});
|
||||
});
|
||||
|
||||
it('creates project, Agent, and empty Conversation metadata without a runtime child', async () => {
|
||||
const projectPath = await makeProjectPath();
|
||||
const storage = createMemoryCodingProjectStorage();
|
||||
|
||||
Reference in New Issue
Block a user