OpenSmartRoute {{ .Chart.AppVersion }} deployed as {{ include "opensmartroute.fullname" . }} in {{ .Release.Namespace }}.

Port-forward and try a route:

  kubectl -n {{ .Release.Namespace }} port-forward svc/{{ include "opensmartroute.fullname" . }} {{ .Values.service.port }}:{{ .Values.service.port }}
  curl -s localhost:{{ .Values.service.port }}/route -H 'content-type: application/json' \
       -d '{"text": "prove that sqrt(2) is irrational"}'

OpenAI-compatible proxy (model "auto" routes, then forwards to the chosen target):

  curl -s localhost:{{ .Values.service.port }}/v1/chat/completions -H 'content-type: application/json' \
       -d '{"model": "auto", "messages": [{"role": "user", "content": "hello"}]}'

{{- if and .Values.persistence.enabled (gt (int .Values.replicaCount) 1) }}

WARNING: persistence is enabled with {{ .Values.replicaCount }} replicas. A ReadWriteOnce claim
cannot be shared; learner state will diverge per pod. Use replicaCount=1, a ReadWriteMany
storage class, or the Redis/SQL StateStore (docs/ENTERPRISE.md).
{{- end }}
