File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
test/modelDependent/llama3.2 Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ describe("llama 3.2", () => {
169169 await contextSequence2 . loadStateFromFile ( stateFile1Path , { acceptRisk : true } ) ;
170170
171171 const res2 = await chatSession2 . prompt ( "What did I tell you to remember?" , { maxTokens : 12 } ) ;
172- expect ( res2 ) . to . toMatchInlineSnapshot ( '" You told me to remember that "locks are not doors"."' ) ;
172+ expect ( res2 ) . toMatch ( / ^ ( Y o u t o l d m e t o r e m e m b e r t h a t " l o c k s a r e n o t d o o r s " .| Y o u t o l d m e t o r e m e m b e r t h a t " l o c k s a r e n o t d o o r s . " ) / ) ;
173173 const contextSequence2TokensState = contextSequence2 . tokenMeter . getState ( ) ;
174174 expect ( contextSequence2TokensState . usedInputTokens ) . to . be . lessThan ( contextSequence1TokensState . usedInputTokens ) ;
175175 expect ( contextSequence2TokensState ) . toMatchInlineSnapshot ( `
You can’t perform that action at this time.
0 commit comments