Skip to content

Commit

Permalink
Fix Test Prompt Response Error Values (#591)
Browse files Browse the repository at this point in the history
Co-authored-by: rdheekonda <[email protected]>
  • Loading branch information
rdheekonda and rdheekonda authored Dec 3, 2024
1 parent f4d7565 commit 23ea930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_prompt_data_type():
def test_prompt_response_error():
assert get_origin(PromptResponseError) is Literal

expected_literals = {"blocked", "none", "processing", "unknown"}
expected_literals = {"blocked", "none", "processing", "unknown", "empty"}
assert set(get_args(PromptResponseError)) == expected_literals


Expand Down

0 comments on commit 23ea930

Please sign in to comment.