diff --git a/helm-charts/common/agent/templates/tests/test-pod.yaml b/helm-charts/common/agent/templates/tests/test-pod.yaml index 61515c7a3..d6ce3cca3 100644 --- a/helm-charts/common/agent/templates/tests/test-pod.yaml +++ b/helm-charts/common/agent/templates/tests/test-pod.yaml @@ -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;