feat: add portable server script and frontend components for model management and chat interface

This commit is contained in:
techjarves committed 2026-06-25 19:00:33 +05:30
1 parent 35f1ce9783
commit 676326cfd3
3 files changed
+8 -1

No files matched your search

@@ -1308,6 +1308,12 @@ function ModelManager({
}
};
const handleCancelImport = () => {
if (importAbortController) {
importAbortController.abort();
}
};
const handleImportFile = (e) => {
const file = e.target.files[0];
if (file) {
-1
View File
@@ -917,7 +917,6 @@ function TextChat({
</div>
)}
</div>
{isBusy && !loadingModel && <LoaderCircle className="progress-spinner" size={16} />}
{selectedModel && (!status.ready || status.settings?.model !== selectedModel) && !loadingModel && (
<button
className="m3-btn m3-btn-filled"
+2
View File
@@ -6736,6 +6736,8 @@ async function getLlmfitRecommendations(useCase = "chat", limit = 10) {
});
});
server.timeout = 0; // Disable socket timeout for large model uploads/downloads
server.listen(PORT_FRONTEND, "0.0.0.0", () => {
console.log("");
console.log(" ============================================================");