Skip to content

Commit

Permalink
Merge pull request #15 from langchain-ai/infra/fix-playground-helm
Browse files Browse the repository at this point in the history
Infra/fix playground helm
  • Loading branch information
langchain-infra authored Nov 1, 2023
2 parents c3ca1c6 + 3246328 commit 370f3f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/langsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: [email protected]
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"
2 changes: 1 addition & 1 deletion charts/langsmith/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
11 changes: 11 additions & 0 deletions charts/langsmith/templates/frontend/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 370f3f4

Please sign in to comment.