added check claude credentials in log server and changelog altered

This commit is contained in:
2026-03-12 02:05:01 +01:00
parent f0b4e586c0
commit c711899e4d
3 changed files with 96 additions and 1 deletions
+12
View File
@@ -107,7 +107,9 @@
<div id="proxy-models-list" style="font-size:12px;line-height:1.6"></div>
<div style="font-size:10px;color:#555570;margin-top:4px" id="proxy-models-hint"></div>
</div>
<div id="proxy-auth" style="margin-top:6px;display:none;background:#080810;border:1px solid #1E1E2E;border-radius:4px;padding:6px 8px;font-size:10px;line-height:1.5;max-height:120px;overflow-y:auto;white-space:pre-wrap;color:#8888AA"></div>
<button class="btn secondary" id="btn-proxy-test" onclick="testProxyBtn()" style="margin-top:6px">Proxy testen</button>
<button class="btn secondary" onclick="checkProxyAuth()" style="margin-top:6px">Auth pruefen</button>
</div>
</div>
@@ -283,6 +285,12 @@
if (msg.models && msg.models.length) showProxyModels(msg.models);
return;
}
if (msg.type === 'proxy_auth') {
const el = document.getElementById('proxy-auth');
el.style.display = 'block';
el.textContent = msg.error ? `Fehler: ${msg.error}` : msg.info;
return;
}
if (msg.type === 'docker_logs') {
showDockerLogs(msg);
return;
@@ -315,6 +323,10 @@
send({ action: 'test_proxy', text: 'Antworte mit genau einem Wort: Ping' });
}
function checkProxyAuth() {
send({ action: 'check_proxy_auth' });
}
function loadDockerLogs() {
if (!DOCKER_TABS.includes(activeTab)) return;
send({ action: 'docker_logs', tab: activeTab, tail: 200 });