Skip to content

Commit

Permalink
fix(mistral): Fix call options type (#6857)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Sep 20, 2024
1 parent fcb61ee commit e01cfe0
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 e01cfe0

Please sign in to comment.