Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
add maxTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 24, 2024
1 parent 47c5d04 commit 4832271
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/mistral.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4832271

Please sign in to comment.