Update plug indicator format with comma separation
- Change format from '0 (1 servers) 0 (2 tools)' to '0 (1) servers, 0 (2) tools' - Move words 'servers' and 'tools' outside brackets - Add comma separation between server and tool counts - More concise and readable format
This commit is contained in:
parent
644b3b663d
commit
0ce394f53c
1 changed files with 3 additions and 3 deletions
|
|
@ -260,12 +260,12 @@ const ConversationThread: React.FC<ConversationThreadProps> = ({
|
||||||
}, 0)
|
}, 0)
|
||||||
|
|
||||||
if (totalServers === 0) {
|
if (totalServers === 0) {
|
||||||
return "0 (0 servers) 0 (0 tools)"
|
return "0 (0) servers, 0 (0) tools"
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${enabledServers} (${totalServers} servers) ${enabledTools} (${totalTools} tools)`
|
return `${enabledServers} (${totalServers}) servers, ${enabledTools} (${totalTools}) tools`
|
||||||
} catch {
|
} catch {
|
||||||
return mcpTools.length > 0 ? `1 (1 servers) ${mcpTools.length} (${mcpTools.length} tools)` : "0 (0 servers) 0 (0 tools)"
|
return mcpTools.length > 0 ? `1 (1) servers, ${mcpTools.length} (${mcpTools.length}) tools` : "0 (0) servers, 0 (0) tools"
|
||||||
}
|
}
|
||||||
})()}
|
})()}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue