Skip to content

Commit fdd079c

Browse files
tests: update chat completion test for new payload
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
1 parent a05af46 commit fdd079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function test_llama_stack_openai_models {
157157
function test_llama_stack_chat_completion {
158158
echo "===> test_llama_stack_chat_completion: start"
159159
nohup uv run llama-stack-client configure --endpoint http://localhost:8321 --api-key none
160-
if nohup uv run llama-stack-client inference chat-completion --message "tell me a joke" | grep -q "completion_message"; then
160+
if nohup uv run llama-stack-client inference chat-completion --message "tell me a joke" | grep -q "OpenAIChatCompletion"; then
161161
echo "===> test_llama_stack_chat_completion: pass"
162162
return
163163
else

0 commit comments

Comments
 (0)