We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ec081 commit 99c2433Copy full SHA for 99c2433
tests/lib/streaming/test_partial_json.py
@@ -128,6 +128,6 @@ def test_partial_json_with_invalid_json(self) -> None:
128
)
129
raise AssertionError("Expected ValueError for invalid JSON, but no error was raised.")
130
except ValueError as e:
131
- assert str(e).startswith("Failed to parse input JSON: expected value at line 1 column 38.")
+ assert str(e).startswith("Unable to parse tool parameter JSON from model. Please retry your request or adjust your prompt.")
132
except Exception as e:
133
raise AssertionError(f"Unexpected error type: {type(e).__name__} with message: {str(e)}") from e
0 commit comments