| | |
| | | title={ |
| | | <div className='relative left-1 flex items-center'> |
| | | {payload.role === PromptRole.system |
| | | ? (<div className='relative left-[-4px] text-xs font-semibold uppercase text-text-secondary'> |
| | | ? (<div className='relative left-[-4px] text-xs font-semibold text-gray-700 uppercase'> |
| | | SYSTEM |
| | | </div>) |
| | | : ( |
| | |
| | | allOptions={roleOptions} |
| | | options={canNotChooseSystemRole ? roleOptionsWithoutSystemRole : roleOptions} |
| | | onChange={handleChatModeMessageRoleChange} |
| | | triggerClassName='text-xs font-semibold text-text-secondary uppercase' |
| | | itemClassName='text-[13px] font-medium text-text-secondary' |
| | | triggerClassName='text-xs font-semibold text-gray-700 uppercase' |
| | | itemClassName='text-[13px] font-medium text-gray-700' |
| | | /> |
| | | )} |
| | | |