Commit 130841df authored by jan.koester's avatar jan.koester
Browse files

test

parent 7cb22168
Loading
Loading
Loading
Loading
+3 −1
Changes for editor/src/webedit_api.cpp: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -3927,7 +3927,9 @@ void webedit::Api::handleAiPrompt(libhttppp::HttpRequest &curreq,

            libhttppp::HttpUrl url(fullUrl);
            libhttppp::HttpClient client(url);
            client.setTimeout(120);
            // Generous: a cold model load/swap on the AI backend can stall
            // well past a minute before the first SSE byte comes back.
            client.setTimeout(300);

            libhttppp::HttpRequest apiReq;
            apiReq.setRequestType(POSTREQUEST);