mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-05-20 23:44:43 +02:00
exit early
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
||||
run: |
|
||||
nohup python -m tests.api.server > server.log 2>&1 &
|
||||
sleep 2
|
||||
curl -X POST -i localhost:9999/api/conversations -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' || true
|
||||
curl -X POST -i localhost:9999/api/conversations -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' || exit 1
|
||||
echo
|
||||
|
||||
garak -v \
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
run: |
|
||||
nohup python -m tests.api.server > server.log 2>&1 &
|
||||
sleep 2
|
||||
curl -X POST -i localhost:9999/api/conversations -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' || true
|
||||
curl -X POST -i localhost:9999/api/conversations -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' || exit 1
|
||||
echo
|
||||
|
||||
garak -v \
|
||||
|
||||
Reference in New Issue
Block a user