- System messages must be followed by at least by another message
- No system messages are allowed after an assistant or user message
System messages must be followed by at least another message
Anthropic does not consider system messages as part of the list of general messages and thus, if you don’t add at least a user or assistant message, the list of messages sent to anthropic would be empty, which would result in an error.
<user>
or <assistant>
tag: