mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
fix assert
This commit is contained in:
parent
9bf1388429
commit
f7658f9c3a
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ async def test_completions_structured_output(inference_settings):
|
|||
assert isinstance(response.content, str)
|
||||
|
||||
answer = Output.parse_raw(response.content)
|
||||
assert "Michael Jordan" in answer.name
|
||||
assert answer.name == "Michael Jordan"
|
||||
assert answer.year_born == "1963"
|
||||
assert answer.year_retired == "2003"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue