update frontend

This commit is contained in:
tianyufan
2025-10-24 01:02:53 +08:00
parent 1b977ef87d
commit 1febc5c322
10 changed files with 93 additions and 21 deletions

View File

@@ -45,8 +45,8 @@ function populateAgentSelector() {
Object.keys(allAgentsData).forEach(agentName => {
const option = document.createElement('option');
option.value = agentName;
const icon = dataLoader.getAgentIcon(agentName);
option.textContent = `${icon} ${dataLoader.getAgentDisplayName(agentName)}`;
// Use text only for dropdown options (HTML select doesn't support images well)
option.textContent = dataLoader.getAgentDisplayName(agentName);
select.appendChild(option);
});
}