Commit 7cb22168 authored by jan.koester's avatar jan.koester
Browse files

test

parent 2279d4b4
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
@@ -3746,7 +3746,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 byte comes back.
                client.setTimeout(300);

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