From 483227138a9c54c9a50df0427e440a0c0d24c562 Mon Sep 17 00:00:00 2001 From: patcher99 Date: Sun, 24 Mar 2024 14:10:40 +0530 Subject: [PATCH] add maxTokens --- tests/mistral.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mistral.test.mjs b/tests/mistral.test.mjs index 669da28..6ada70b 100644 --- a/tests/mistral.test.mjs +++ b/tests/mistral.test.mjs @@ -25,6 +25,7 @@ describe('Mistral Test', () => { const message = await client.chat({ model: 'mistral-large-latest', messages: [{role: 'user', content: 'What is LLM Observability?'}], + maxTokens: 10, }); expect(message.object).to.equal('chat.completion');