Grandparent is correct. This is manually trained in, nothing fundamental changed since 2022. LLMs have no intrinsic way of knowing.
Source: I train LLMs and push their limits.
Source: I train LLMs and push their limits.
There's some interesting anecdotal work on this with regards to self-recognition: https://josiekins.me/ai-comics