fix: replace expected output for continue test

This commit is contained in:
drbh 2024-11-25 10:10:33 -05:00
parent 594a6a7c22
commit 8505341931
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"index": 0, "index": 0,
"logprobs": null, "logprobs": null,
"message": { "message": {
"content": "the mouse is much smaller than an elephant. The average elephant weight is around 6,500 lbs (3,", "content": " the royal mouse? It is a little more slender and only weighs around 1.5 pounds for males and 1.3 pounds",
"role": "assistant" "role": "assistant"
} }
} }

View File

@ -71,6 +71,6 @@ def test_llama_completion_single_prompt_continue(
content = response["choices"][0]["message"]["content"] content = response["choices"][0]["message"]["content"]
assert ( assert (
content content
== "the mouse is much smaller than an elephant. The average elephant weight is around 6,500 lbs (3," == " the royal mouse? It is a little more slender and only weighs around 1.5 pounds for males and 1.3 pounds"
) )
assert response == response_snapshot assert response == response_snapshot