mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
fix: Load embedding pool config before rendering sidebar
Ensures the sidebar summary displays correctly on page load 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1008,6 +1008,10 @@ async function renderApiSettings() {
|
||||
'<i data-lucide="plus"></i> ' + t('apiSettings.addEndpoint') +
|
||||
'</button>';
|
||||
} else if (activeSidebarTab === 'embedding-pool') {
|
||||
// Load embedding pool config first if not already loaded
|
||||
if (!embeddingPoolConfig) {
|
||||
await loadEmbeddingPoolConfig();
|
||||
}
|
||||
sidebarContentHtml = renderEmbeddingPoolSidebar();
|
||||
} else if (activeSidebarTab === 'cache') {
|
||||
sidebarContentHtml = '<div class="cache-sidebar-info" style="padding: 1rem; color: var(--text-secondary); font-size: 0.875rem;">' +
|
||||
|
||||
Reference in New Issue
Block a user