8c4c50cfb3
3 пре-существующих красных от ba10068: router-config модель + 2 timeout-assert HEAVY_LLM_TIMEOUT_MS 90000 to 300000. Parse-движок не тронут.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
24 lines
826 B
JavaScript
24 lines
826 B
JavaScript
// tools/router-config.test.mjs — TDD for Phase 2 Task 8
|
|
import { describe, it, expect } from 'vitest';
|
|
import * as cfg from './router-config.mjs';
|
|
|
|
describe('router-config exports', () => {
|
|
it('CLASSIFIER_MODEL is deepseek-v4-pro (router agents migrated 2026-06-15, commit ba10068)', () => {
|
|
expect(cfg.CLASSIFIER_MODEL).toBe('deepseek-v4-pro');
|
|
});
|
|
|
|
it('REVIEWER_MODEL is Opus 4.7', () => {
|
|
expect(cfg.REVIEWER_MODEL).toBe('claude-opus-4-7');
|
|
});
|
|
|
|
it('INHERITANCE_MAX_AGE_MIN === 30', () => {
|
|
expect(cfg.INHERITANCE_MAX_AGE_MIN).toBe(30);
|
|
expect(typeof cfg.INHERITANCE_MAX_AGE_MIN).toBe('number');
|
|
});
|
|
|
|
it('REVIEWER_MAX_NEIGHBOR_EPISODES === 10', () => {
|
|
expect(cfg.REVIEWER_MAX_NEIGHBOR_EPISODES).toBe(10);
|
|
expect(typeof cfg.REVIEWER_MAX_NEIGHBOR_EPISODES).toBe('number');
|
|
});
|
|
});
|