diff --git a/charts/langsmith/Chart.yaml b/charts/langsmith/Chart.yaml index d10572b..292ef3d 100644 --- a/charts/langsmith/Chart.yaml +++ b/charts/langsmith/Chart.yaml @@ -5,5 +5,5 @@ maintainers: email: ankush@langchain.dev description: Helm chart to deploy the langsmith application and all services it depends on. type: application -version: 0.1.2 +version: 0.1.3 appVersion: "0.1.0" diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index 7e886d1..4ccab8f 100644 --- a/charts/langsmith/README.md +++ b/charts/langsmith/README.md @@ -1,6 +1,6 @@ # langsmith -![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) Helm chart to deploy the langsmith application and all services it depends on. diff --git a/charts/langsmith/templates/frontend/configmap.yaml b/charts/langsmith/templates/frontend/configmap.yaml index ffcb67d..2ac7d22 100644 --- a/charts/langsmith/templates/frontend/configmap.yaml +++ b/charts/langsmith/templates/frontend/configmap.yaml @@ -28,7 +28,18 @@ data: root /usr/share/nginx/html; } + location ~ /api/playground/ { + rewrite /api/playground/(.*) /$1 break; + chunked_transfer_encoding off; + proxy_set_header Connection ''; + proxy_http_version 1.1; + proxy_buffering off; + proxy_cache off; + proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.playground.name }}:{{ .Values.playground.service.port }}; + } + location = /api/playground { + rewrite /api/playground / break; chunked_transfer_encoding off; proxy_set_header Connection ''; proxy_http_version 1.1;