{#if s}
{t("label_hw_status")}
{s.hw}
{t("label_cuda_status")}
{s.cuda}
{#if dl.running && dl.component === "fix_env"}
{t("web_download_running")}
{/if} {#if dl.component === "fix_env" && dl.log}
{dl.log}
{/if}
{t("label_env_status")}
{s.env}
{t("acc_tools_downloader")}
{s.components}
{#each components as [comp, key, tip] (comp)} {/each}
{#if dl.running && dl.component !== "fix_env"}
{t("web_download_running")}
{#if dl.progress !== null}
{dl.label || t("web_download_running")} {dl.progress}%
{#if dl.dlMb}
{dl.dlMb} / {dl.totalMb} MB
{/if}
{/if} {/if} {#if dl.component !== "fix_env" && dl.log}
{dl.log}
{/if}
{t("acc_settings_global")}
{#each PROVIDERS as prov, pi (prov.titleKey)}
{t(prov.titleKey)}
{#each prov.fields as [key, labelKey, type, placeholder, tip] (key)} {/each} {#if prov.titleKey === "label_provider_gguf" && ggufHint}
{ggufHint}
{/if} {#if prov.titleKey === "label_provider_llama"} {/if}
{/each}
{t("acc_model_management")}
{t("label_model_mgmt_desc")}
{#if currentProvModelsList.length === 0} {:else} {#each currentProvModelsList as m (typeof m === "string" ? m : (m.id || m.label))} {@const mLabel = typeof m === "string" ? m : (m.label || m.id)} {@const cacheKey = `${currentProviderObj.value}::${mLabel}::${currentProviderObj.type}`} {@const check = modelCheckCache[cacheKey]} {@const isDownloading = app.modelDl.running && (app.modelDl.modelLabel === mLabel || app.modelDl.modelId === check?.model_id)} {/each} {/if}
{t("model_table_col_name")} {t("model_table_col_size")} {t("model_table_col_status")} {t("model_table_col_action")}
{t("web_loading", "No models available for this provider")}
{mLabel} {#if check?.model_id && check.model_id !== mLabel} {check.model_id} {/if}
{#if check?.size_gb} {check.size_gb} GB {:else if typeof m === "object" && m.size_gb} {m.size_gb} GB {:else} — {/if} {#if isDownloading} ⏳ {t("web_model_downloading_btn")} ({app.modelDl.progress ?? 0}%) {:else if check?.cached} {t("status_model_downloaded")} {:else if check?.needs_download} {t("status_model_not_downloaded")} {:else} {t("status_model_online")} {/if}
{#if check?.needs_download} {:else if check?.cached} {:else} — {/if}
{t("acc_settings_accel")}
{t("label_provider_llama")}
{t("label_provider_pytorch")}
{t("label_report_files")}
📂 {s.reportBaseDir}
{:else}
{t("web_loading", "…")}
{/if} {#if flash}
{flash}
{/if} {#if activation}
{activation}
{/if} {#if llmCppPopup} { llmCppPopup = false; }} oninstall={(choice) => doLlamaCppInstall(choice)} /> {/if} {#if llamaServerPopup} { llamaServerPopup = false; }} oninstall={(choice) => doLlamaServerInstall(choice)} /> {/if} {#if whisperServerPopup} { whisperServerPopup = false; }} oninstall={(choice) => doWhisperServerInstall(choice)} /> {/if} {#if pytorchPopup} { pytorchPopup = false; }} oninstall={(choice) => doPytorchInstall(choice)} /> {/if} {#if dlConfirmPopup} { dlConfirmPopup = false; }} onconfirm={(comp) => doConfirmDownload(comp)} /> {/if}