Farewell system icon

7c879a3abc95eeec9572158389f342a7cd36b325

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -2Ignore whitespace
public/scripts/PromptManager.js+1 -2
@@ -1550,11 +1550,10 @@ class PromptManager {
1550 const isInjectionPrompt = prompt.injection_position === INJECTION_POSITION.ABSOLUTE;1550 const isInjectionPrompt = prompt.injection_position === INJECTION_POSITION.ABSOLUTE;
1551 const isOverriddenPrompt = Array.isArray(this.overriddenPrompts) && this.overriddenPrompts.includes(prompt.identifier);1551 const isOverriddenPrompt = Array.isArray(this.overriddenPrompts) && this.overriddenPrompts.includes(prompt.identifier);
1552 const importantClass = isImportantPrompt ? `${prefix}prompt_manager_important` : '';1552 const importantClass = isImportantPrompt ? `${prefix}prompt_manager_important` : '';
1553 const iconLookup = prompt.role === 'system' && (prompt.marker || prompt.system_prompt) ? '' : prompt.role;1553 const iconLookup = (prompt.marker || prompt.system_prompt) ? '' : prompt.role;
15541554
1555 //add role icons to the right of prompt name1555 //add role icons to the right of prompt name
1556 const promptRoles = {1556 const promptRoles = {
1557 system: { roleIcon: 'fa-cog', roleTitle: 'Prompt will be sent as System' },
1558 assistant: { roleIcon: 'fa-robot', roleTitle: 'Prompt will be sent as Assistant' },1557 assistant: { roleIcon: 'fa-robot', roleTitle: 'Prompt will be sent as Assistant' },
1559 user: { roleIcon: 'fa-user', roleTitle: 'Prompt will be sent as User' },1558 user: { roleIcon: 'fa-user', roleTitle: 'Prompt will be sent as User' },
1560 };1559 };