Skip to content

Commit e5622d3

Browse files
author
usize
committed
Ensure that route detection specifies a namespace.
1 parent 5e4b1bd commit e5622d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deployment/scripts/tests/test-qwen3.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
set -eux
44

5-
QWEN3_ROUTE=$(oc get routes qwen3-route | tail -1 | awk '{print $2}')
5+
QWEN3_ROUTE=$(oc get routes qwen3-route -n llm | tail -1 | awk '{print $2}')
66

77
curl -s -w "HTTP Status: %{http_code}\n" \
88
-H 'Authorization: APIKEY premiumuser1_key' \
99
-H 'Content-Type: application/json' \
10-
-d '{"model":"simulator-model","messages":[{"role":"user","content":"Please write a python function."}],"max_tokens":10}' \
10+
-d '{"model":"qwen3-0-6b-instruct","messages":[{"role":"user","content":"Please write a python function."}],"max_tokens":10}' \
1111
"http://${QWEN3_ROUTE}/v1/chat/completions"

deployment/scripts/tests/test-simulator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eux
44

5-
SIMULATOR_ROUTE=$(oc get routes simulator-route | tail -1 | awk '{print $2}')
5+
SIMULATOR_ROUTE=$(oc get routes simulator-route -n llm | tail -1 | awk '{print $2}')
66

77
curl -s -w "HTTP Status: %{http_code}\n" \
88
-H 'Authorization: APIKEY freeuser1_key' \

0 commit comments

Comments
 (0)