Skip to content

Commit

Permalink
Fix input parameter error
Browse files Browse the repository at this point in the history
Signed-off-by: Dolpher Du <[email protected]>
  • Loading branch information
yongfengdu committed Jan 15, 2025
1 parent 7a71816 commit 76674d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-charts/common/agent/templates/tests/test-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
curl http://{{ include "agent.fullname" . }}:{{ .Values.service.port }}/v1/chat/completions -sS --fail-with-body \
-X POST \
-H 'Content-Type: application/json' \
-d '{"query":"What is OPEA?"}' && break;
-d '{"messages":"What is OPEA?", "stream":"true"}' && break;
curlcode=$?
if [[ $curlcode -eq 7 ]]; then sleep 10; else echo "curl failed with code $curlcode"; exit 1; fi;
done;
Expand Down

0 comments on commit 76674d1

Please sign in to comment.