Skip to content

Commit 6741adc

Browse files
authored
fix(core): aiWaitFor ut (#1268)
1 parent 2a42d03 commit 6741adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web-integration/tests/unit-test/agent.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const mockedModelConfigFnResult = {
6262
const modelConfigCalcByMockedModelConfigFnResult = {
6363
from: 'modelConfig',
6464
httpProxy: undefined,
65-
intent: 'default',
65+
intent: 'VQA',
6666
modelDescription: '',
6767
modelName: 'mock-model',
6868
openaiApiKey: 'mock-api-key',
@@ -429,7 +429,7 @@ describe('PageAgent cache configuration', () => {
429429
it('should throw error for cache: { strategy: "read-only" } without id', () => {
430430
expect(() => {
431431
new PageAgent(mockPage, {
432-
cache: { strategy: 'read-only' },
432+
cache: { strategy: 'read-only', id: undefined as unknown as string },
433433
modelConfig: () => mockedModelConfigFnResult,
434434
});
435435
}).toThrow('cache configuration requires an explicit id');

0 commit comments

Comments
 (0)