SendMessageConfiguration

发送消息请求的配置。

JSON 表示法
{
  "acceptedOutputModes": [
    string
  ],
  "pushNotification": {
    object (PushNotificationConfig)
  },
  "historyLength": integer,
  "blocking": boolean
}
字段
acceptedOutputModes[]

string

智能体应采用的输出模式。

pushNotification

object (PushNotificationConfig)

一种可用于接收更新的 Webhook 配置

historyLength

integer

历史记录中包含的消息数量上限。如果为 0,则历史记录不受限制。

blocking

boolean

如果为 true,则消息将处于阻塞状态,直到任务完成。如果为 false,消息将是非阻塞的,并且任务将立即返回。调用方有责任检查是否有任何任务更新。