Skip to content

Commit

Permalink
add request argument for curl test command
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Fournioux <[email protected]>
  • Loading branch information
mfournioux committed Dec 2, 2024
1 parent 63ee666 commit 473f16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ jobs:
run: |
kubectl -n ns-vllm port-forward service/test-vllm-service 8001:80 &
sleep 10
curl -f --location http://localhost:8001/v1/completions \
curl -f -X POST --location http://localhost:8001/v1/completions \
--header "Content-Type: application/json" \
--data '{
"model": "opt-125m",
"prompt": "San Francisco is a",
"max_tokens": 7,
"temperature": 0
}'
CODE="$(curl -v -f --location http://localhost:8001/v1/completions \
CODE="$(curl -v -f -X POST --location http://localhost:8001/v1/completions \
--header "Content-Type: application/json" \
--data '{
"model": "opt-125m",
Expand Down

0 comments on commit 473f16e

Please sign in to comment.