fix: need Content-Type header in smoke test script

This commit is contained in:
nobody 2025-11-27 11:20:29 -08:00
commit 4aa8759514
Signed by: GrocerPublishAgent
GPG key ID: D460CD54A9E3AB86
2 changed files with 3 additions and 2 deletions

View file

@ -98,7 +98,7 @@ curl -s "$host/models"
echo
echo "=== /salience ==="
curl -s -X POST -d "The cat sat on the mat. The dog chased the cat." "$host/salience?model=all-mpnet-base-v2"
curl -s --data-binary -H "Content-Type: text/plain" "The cat sat on the mat. The dog chased the cat." "$host/salience?model=all-mpnet-base-v2"
echo
EOH
destination = "local/smoke-test.sh"