messagesarray<object>ObligatorioHistorial ordenado de solo texto para Tencent HY-MT2 Pro (hasta 256 mensajes).
- Valor predeterminado
- Sin especificar
- Restricciones
- minItems:1maxItems:256
messages[].rolestringObligatorio dentro del objetoRole of the message author.
- Valor predeterminado
- Sin especificar
- Valores permitidos
"system""developer""user""assistant"
messages[].namestringOpcionalOptional name identifying the speaker within its role.
- Valor predeterminado
- Sin especificar
messages[].contentstring | array | nullOpcionalMessage content, either plain text or a list of content parts.
- Valor predeterminado
- Sin especificar
{
"type": [
"string",
"array",
"null"
],
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"text"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"const": "text"
}
}
}
]
},
"description": "Message content, either plain text or a list of content parts."
}