diff --git a/libs/partners/groq/tests/unit_tests/test_chat_models.py b/libs/partners/groq/tests/unit_tests/test_chat_models.py index fbec8424a37..1d7ec63c514 100644 --- a/libs/partners/groq/tests/unit_tests/test_chat_models.py +++ b/libs/partners/groq/tests/unit_tests/test_chat_models.py @@ -112,7 +112,7 @@ def test__convert_dict_to_message_tool_call() -> None: name="GenerateUsername", args="oops", id="call_wm0JY6CdwOMZ4eTxHWUThDNz", - error="Function GenerateUsername arguments:\n\noops\n\nare not valid JSON. Received JSONDecodeError Expecting value: line 1 column 1 (char 0)\nFor troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE", # noqa: E501 + error="Function GenerateUsername arguments:\n\noops\n\nare not valid JSON. Received JSONDecodeError Expecting value: line 1 column 1 (char 0)\nFor troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE ", # noqa: E501 type="invalid_tool_call", ), ], diff --git a/libs/partners/mistralai/tests/unit_tests/test_chat_models.py b/libs/partners/mistralai/tests/unit_tests/test_chat_models.py index 2c5c2305368..f90507c6877 100644 --- a/libs/partners/mistralai/tests/unit_tests/test_chat_models.py +++ b/libs/partners/mistralai/tests/unit_tests/test_chat_models.py @@ -212,7 +212,7 @@ def test__convert_dict_to_message_tool_call() -> None: InvalidToolCall( name="GenerateUsername", args="oops", - error="Function GenerateUsername arguments:\n\noops\n\nare not valid JSON. Received JSONDecodeError Expecting value: line 1 column 1 (char 0)\nFor troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE", # noqa: E501 + error="Function GenerateUsername arguments:\n\noops\n\nare not valid JSON. Received JSONDecodeError Expecting value: line 1 column 1 (char 0)\nFor troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE ", # noqa: E501 id="ssAbar4Dr", type="invalid_tool_call", ), diff --git a/libs/partners/openai/tests/unit_tests/chat_models/test_base.py b/libs/partners/openai/tests/unit_tests/chat_models/test_base.py index 4ea4da055db..b97819e2188 100644 --- a/libs/partners/openai/tests/unit_tests/chat_models/test_base.py +++ b/libs/partners/openai/tests/unit_tests/chat_models/test_base.py @@ -168,7 +168,7 @@ def test__convert_dict_to_message_tool_call() -> None: "Function GenerateUsername arguments:\n\noops\n\nare not " "valid JSON. Received JSONDecodeError Expecting value: line 1 " "column 1 (char 0)\nFor troubleshooting, visit: https://python" - ".langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE" + ".langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE " ), type="invalid_tool_call", )