async function updateRepoMix(element, fetchContext = fetch) { try { const response = await fetchContext('api/v1/context', { headers: { Accept: 'application/json' }, }); if (!response.ok) throw new Error('HTTP ' + response.status); const data = await response.json(); const repos = data.repos || []; const issues = (data.issues || []).filter((issue) => issue.state === 'open'); const pullRequests = data.pull_requests || []; element.innerHTML = '