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

Commit

Permalink
fix: set default option
Browse files Browse the repository at this point in the history
  • Loading branch information
sublimator committed May 6, 2024
1 parent 4b70df4 commit c9afae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class MistralClient {
safePrompt,
toolChoice,
responseFormat,
}, {signal}) {
}, {signal} = {}) {
const request = this._makeChatCompletionRequest(
model,
messages,
Expand Down Expand Up @@ -334,7 +334,7 @@ class MistralClient {
safePrompt,
toolChoice,
responseFormat,
}, {signal}) {
}, {signal} = {}) {
const request = this._makeChatCompletionRequest(
model,
messages,
Expand Down

0 comments on commit c9afae5

Please sign in to comment.