ConnectorProperties

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

连接器属性配置,用于描述服务通道、网络、协议、模型列表及连通性验证参数。

channelType

string

通道类型:custom / apig(model_service 可选,默认 custom)

custom

dryRunRequestBody

string

dryRun=All 且 type=agent_app 时必填,用户提供的示例请求体,用于验证端点连通性(不持久化)

{"input":"Hello"}

maxRetries

string

拨测注册服务调用失败后的重试次数,取值 0~10。不传时默认 3

3

modelList

string

支持的模型列表,逗号分隔格式(model_service 必填)

qwen-max

network

string

网络类型:internet / aliyun-vpc

internet

protocol

string

协议类型:openai / openai-compatible / anthropic(model_service 必填)

openai-compatible

qpsLimit

string

拨测注册服务的 QPS 上限。0 表示不限流,否则取值 0.1~1000。 不传时 agent_app 默认 20、model_service 默认 100

20

region

string

地域(aliyun-vpc 时必填)

cn-hangzhou

responseBodyPath

string

响应体 JSON Path 提取路径(agent_app 可选)

$.choices[0].message.content

securityGroupId

string

安全组 ID(agent_app 可选)

timeoutMs

string

单次调用超时(毫秒),取值 1000~1800000。不传时默认 300000。

30000

vSwitchId

string

交换机 ID(agent_app 可选)

vpcId

string

VPC ID(agent_app 可选)