Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Apr 17, 2024
1 parent 33344e2 commit 88d4733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/mistralai/langchain_mistralai/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def _format_tool_call_for_mistral(tool_call: ToolCall) -> dict:


def _format_invalid_tool_call_for_mistral(invalid_tool_call: InvalidToolCall) -> dict:
"""Format Langchain ToolCall to dict expected by Mistral."""
"""Format Langchain InvalidToolCall to dict expected by Mistral."""
result: Dict[str, Any] = {
"function": {
"name": invalid_tool_call["name"],
Expand Down

0 comments on commit 88d4733

Please sign in to comment.