Skip to content

Commit

Permalink
fix(mistral): Fix call options type (langchain-ai#6857)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored and FilipZmijewski committed Sep 27, 2024
1 parent fe1a554 commit 5471c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain-mistralai/src/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface ChatMistralAICallOptions
response_format?: {
type: "text" | "json_object";
};
tools: ChatMistralAIToolType[];
tools?: ChatMistralAIToolType[];
tool_choice?: MistralAIToolChoice;
/**
* Whether or not to include token usage in the stream.
Expand Down

0 comments on commit 5471c76

Please sign in to comment.