Skip to content

Commit d2d38d9

Browse files
committed
test: fix test
1 parent 2a93abe commit d2d38d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/modelDependent/qwen3.5-0.8b/functions.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ describe("qwen3.5 0.8b", () => {
5555
const initialMeterState = chatSession.sequence.tokenMeter.getState();
5656
const res2 = await chatSession.prompt("Explain what this word means", {
5757
...promptOptions,
58-
maxTokens: 20
58+
maxTokens: 15
5959
});
6060

6161
const diffMeterState = chatSession.sequence.tokenMeter.diff(initialMeterState);
6262
expect(res2).to.toMatchInlineSnapshot(`
6363
"
6464
65-
The word "secret" means something that is hidden or kept from others. It"
65+
The word "secret" means something that is hidden or"
6666
`);
6767
expect(diffMeterState.usedInputTokens).toMatchInlineSnapshot("73");
6868
expect(diffMeterState.usedInputTokens).to.be.lessThanOrEqual(80);
6969
expect(chatSession.sequence.lastCheckpointIndex).toMatchInlineSnapshot("414");
70-
expect(chatSession.sequence.nextTokenIndex).toMatchInlineSnapshot("434");
70+
expect(chatSession.sequence.nextTokenIndex).toMatchInlineSnapshot("429");
7171
});
7272
});
7373
});

0 commit comments

Comments
 (0)