added check claude credentials in log server and changelog altered
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user