feat: ConnectAI structural hardening and retrieval precision improvements
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
||||
} from '../src/lib/engine';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { createHash } from 'crypto';
|
||||
|
||||
// ─── Setup ───
|
||||
const getBaseDir = () => {
|
||||
@@ -622,12 +623,12 @@ describe('Concurrency & Stress Tests', () => {
|
||||
|
||||
// resilientExecute의 fallback 로직이 allowFallback 옵션에 반응하는지 테스트
|
||||
const options: AgentExecuteOptions = {
|
||||
config: { allowFallback: true },
|
||||
config: { allowFallback: true, isSamePrompt: true },
|
||||
priorResults: { previousValidData: expectedFallback }
|
||||
};
|
||||
|
||||
const result = await (engine as any).resilientExecute(
|
||||
new MissionState('fallback_test'),
|
||||
new MissionState('fallback_test', createHash('sha256').update(testPrompt).digest('hex').slice(0, 16)),
|
||||
failingAgent,
|
||||
'FailingAgent',
|
||||
testPrompt,
|
||||
|
||||
Reference in New Issue
Block a user