groq: fix unit test (#27660)

This commit is contained in:
ccurme 2024-10-26 14:57:23 -04:00 committed by GitHub
parent cdb4b1980a
commit fe87e411f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ def test__convert_dict_to_message_tool_call() -> None:
name="GenerateUsername", name="GenerateUsername",
args="oops", args="oops",
id="call_wm0JY6CdwOMZ4eTxHWUThDNz", id="call_wm0JY6CdwOMZ4eTxHWUThDNz",
error="Function GenerateUsername arguments:\n\noops\n\nare not valid JSON. Received JSONDecodeError Expecting value: line 1 column 1 (char 0)", # 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", type="invalid_tool_call",
), ),
], ],