From c1169783d5999a90c78a3a19ce3ca3e30301b476 Mon Sep 17 00:00:00 2001
From: Myned <dev@bjork.tech>
Date: Mon, 31 Mar 2025 15:10:48 -0500
Subject: [PATCH] open-webui: disable timeout workaround

---
 options/custom/containers/open-webui.nix | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/options/custom/containers/open-webui.nix b/options/custom/containers/open-webui.nix
index 79d4074..b5af431 100644
--- a/options/custom/containers/open-webui.nix
+++ b/options/custom/containers/open-webui.nix
@@ -28,9 +28,10 @@ in {
         environment = {
           PORT = 3033; # 8080/tcp
 
-          # HACK: Offline Ollama endpoints result in an unusable interface, so cap timeout
+          #!! Low timeout causes text streaming to halt, increase if reached
           # https://github.com/open-webui/open-webui/issues/11228
-          AIOHTTP_CLIENT_TIMEOUT = 5; # 300 seconds by default
+          # https://github.com/open-webui/open-webui/issues/11320
+          #// AIOHTTP_CLIENT_TIMEOUT = 300; # Seconds
         };
       };
     };