MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / loadCodex2apiServices

Function loadCodex2apiServices

static/js/settings.js:1635–1643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1633}
1634
1635async function loadCodex2apiServices() {
1636 if (!elements.codex2apiServicesTable) return;
1637 try {
1638 const services = await api.get('/codex2api-services');
1639 renderCodex2apiServicesTable(services);
1640 } catch (e) {
1641 elements.codex2apiServicesTable.innerHTML = `<tr><td colspan="5" style="text-align:center;color:var(--danger-color);">${e.message}</td></tr>`;
1642 }
1643}
1644
1645function renderCodex2apiServicesTable(services) {
1646 if (!services || services.length === 0) {

Callers 3

settings.jsFile · 0.85
deleteCodex2apiServiceFunction · 0.85

Calls 2

getMethod · 0.45

Tested by

no test coverage detected