Skip to content

Commit 99c2433

Browse files
committed
fix(tests): update test
1 parent 07ec081 commit 99c2433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/streaming/test_partial_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ def test_partial_json_with_invalid_json(self) -> None:
128128
)
129129
raise AssertionError("Expected ValueError for invalid JSON, but no error was raised.")
130130
except ValueError as e:
131-
assert str(e).startswith("Failed to parse input JSON: expected value at line 1 column 38.")
131+
assert str(e).startswith("Unable to parse tool parameter JSON from model. Please retry your request or adjust your prompt.")
132132
except Exception as e:
133133
raise AssertionError(f"Unexpected error type: {type(e).__name__} with message: {str(e)}") from e

0 commit comments

Comments
 (0)