Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kite/templates/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
- name: {{ include "kite.fullname" $ }}
port: {{ $.Values.service.port }}
timeouts:
request: {{ if .timeouts }}{{ .timeouts.request | default "120s" }}{{ else }}"120s"{{ end }}
request: {{ if .timeouts }}{{ .timeouts.request | default "900s" }}{{ else }}"900s"{{ end }}
{{- end }}
{{- end }}
{{- end }}
15 changes: 14 additions & 1 deletion charts/kite/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,16 @@ service:
ingress:
enabled: false
className: "nginx"
# ingress-nginx defaults will cut off AI chat and terminal streams: it closes a
# connection after 60s with no bytes from the backend, and rejects bodies over
# 1m. An SSE agent turn is legitimately silent while a tool runs, and the chat
# request carries the whole transcript. When enabling ingress, replace the
# empty map below with these annotations:
# annotations:
# nginx.ingress.kubernetes.io/proxy-read-timeout: "900"
# nginx.ingress.kubernetes.io/proxy-send-timeout: "900"
# nginx.ingress.kubernetes.io/proxy-body-size: "32m"
# nginx.ingress.kubernetes.io/proxy-buffering: "off"
annotations: {}
hosts:
- host: kite.zzde.me
Expand Down Expand Up @@ -317,7 +327,10 @@ gateway:
type: PathPrefix
value: /
timeouts:
request: "120s"
# An AI agent turn streams over SSE for as long as the model keeps
# calling tools, which routinely exceeds two minutes. A shorter
# timeout cuts the stream mid-answer with no error the user can act on.
request: "900s"
# Example: additional route for different hostname/path
# - name: kite-api
# annotations: {}
Expand Down
Loading