ConnectorProperties

Updated at:

Parameter

Type

Description

Example

object

The connector property configuration used to describe the service channel, network, protocol, model list, and connectivity verification parameters.

channelType

string

The channel type. Valid values: custom, apig. This parameter is optional for model_service. Default value: custom.

custom

dryRunRequestBody

string

The sample request body provided by the user to verify endpoint connectivity. This parameter is required when dryRun is set to All and type is set to agent_app, and is not persisted.

{"input":"Hello"}

maxRetries

string

The number of retry attempts to invoke the dial test registration service after a service invocation has failed. Valid values: 0 to 10. Default value: 3.

3

modelList

string

The supported model list in comma-separated format. This parameter is required for model_service.

qwen-max

network

string

The network type. Valid values: internet, aliyun-vpc.

internet

protocol

string

The protocol type. Valid values: openai, openai-compatible, anthropic. This parameter is required for model_service.

openai-compatible

qpsLimit

string

The QPS limit for the dial test registration service. A value of 0 indicates no throttling. Otherwise, valid values are 0.1 to 1000. Default value: 20 for agent_app and 100 for model_service.

20

region

string

The region. This parameter is required when the network type is aliyun-vpc.

cn-hangzhou

responseBodyPath

string

The JSON Path extraction path for the response body. This parameter is optional for agent_app.

$.choices[0].message.content

securityGroupId

string

The security group ID. This parameter is optional for agent_app.

sg-bp1fg655nh68xyz9****

timeoutMs

string

The timeout for a single call in milliseconds. Valid values: 1000 to 1800000. Default value: 300000.

30000

vSwitchId

string

The vSwitch ID. This parameter is optional for agent_app.

vsw-bp1s5fnvk4gn2tws0****

vpcId

string

The VPC ID. This parameter is optional for agent_app.

vpc-bp1qpo0x2n5g0a4tz****