Skip to main content

VercelAIAdapterConfig

Agent Runtimes


Agent Runtimes / protocols/VercelAIAdapter / VercelAIAdapterConfig

Interface: VercelAIAdapterConfig

Defined in: protocols/VercelAIAdapter.ts:24

Vercel AI specific configuration

Extends

Properties

agentId?

optional agentId?: string

Defined in: protocols/VercelAIAdapter.ts:26

Agent ID

Overrides

ProtocolAdapterConfig.agentId


authToken?

optional authToken?: string

Defined in: types/protocol.ts:82

Authentication token/key

Inherited from

ProtocolAdapterConfig.authToken


autoReconnect?

optional autoReconnect?: boolean

Defined in: types/protocol.ts:88

Auto-reconnect on disconnect

Inherited from

ProtocolAdapterConfig.autoReconnect


baseUrl

baseUrl: string

Defined in: types/protocol.ts:79

Base URL for the protocol endpoint

Inherited from

ProtocolAdapterConfig.baseUrl


fetchOptions?

optional fetchOptions?: object

Defined in: protocols/VercelAIAdapter.ts:32

Custom fetch options

credentials?

optional credentials?: RequestCredentials

Credentials mode

mode?

optional mode?: RequestMode

Request mode


headers?

optional headers?: Record<string, string>

Defined in: protocols/VercelAIAdapter.ts:29

Custom headers for requests (e.g., for Jupyter authentication)


maxReconnectAttempts?

optional maxReconnectAttempts?: number

Defined in: types/protocol.ts:94

Max reconnection attempts

Inherited from

ProtocolAdapterConfig.maxReconnectAttempts


options?

optional options?: Record<string, unknown>

Defined in: types/protocol.ts:100

Additional protocol-specific options

Inherited from

ProtocolAdapterConfig.options


protocol

protocol: Protocol

Defined in: types/protocol.ts:76

Transport type

Inherited from

ProtocolAdapterConfig.protocol


reconnectDelay?

optional reconnectDelay?: number

Defined in: types/protocol.ts:91

Reconnect delay in milliseconds

Inherited from

ProtocolAdapterConfig.reconnectDelay


timeout?

optional timeout?: number

Defined in: types/protocol.ts:97

Request timeout in milliseconds

Inherited from

ProtocolAdapterConfig.timeout