fix: prompt consistency

This commit is contained in:
Subarashimo committed 2025-12-03 10:02:39 +01:00
1 parent d775b45951
commit 56349f30e6
2 files changed
+97 -16

No files matched your search

+5 -3
View File
@@ -55,9 +55,11 @@ export function buildUserStatsText() {
text += `${stats.conditions || 'None'}\n`;
}
// Add inventory summary
const inventorySummary = buildInventorySummary(stats.inventory);
text += inventorySummary;
// Add inventory summary only if inventory is enabled
if (extensionSettings.showInventory) {
const inventorySummary = buildInventorySummary(stats.inventory);
text += inventorySummary;
}
// Add skills if enabled
if (config.skillsSection.enabled && stats.skills) {