Skip to content

@ralphschuler.ai function caller.index.<internal>.AgentOptions

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: AgentOptions

index.<internal>.AgentOptions

Make all properties in T optional

Hierarchy

Table of contents

Properties

Properties

autoSelectFamily

Optional autoSelectFamily: boolean

Since

v18.13.0

Inherited from

Partial.autoSelectFamily

Defined in

node_modules/@types/node/net.d.ts:67


autoSelectFamilyAttemptTimeout

Optional autoSelectFamilyAttemptTimeout: number

Since

v18.13.0

Inherited from

Partial.autoSelectFamilyAttemptTimeout

Defined in

node_modules/@types/node/net.d.ts:71


family

Optional family: number

Inherited from

Partial.family

Defined in

node_modules/@types/node/net.d.ts:59


hints

Optional hints: number

Inherited from

Partial.hints

Defined in

node_modules/@types/node/net.d.ts:58


host

Optional host: string

Inherited from

Partial.host

Defined in

node_modules/@types/node/net.d.ts:55


keepAlive

Optional keepAlive: boolean

Keep sockets around in a pool to be used by other requests in the future. Default = false

Overrides

Partial.keepAlive

Defined in

node_modules/@types/node/http.d.ts:1359


keepAliveInitialDelay

Optional keepAliveInitialDelay: number

Inherited from

Partial.keepAliveInitialDelay

Defined in

node_modules/@types/node/net.d.ts:63


keepAliveMsecs

Optional keepAliveMsecs: number

When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. Only relevant if keepAlive is set to true.

Defined in

node_modules/@types/node/http.d.ts:1364


localAddress

Optional localAddress: string

Inherited from

Partial.localAddress

Defined in

node_modules/@types/node/net.d.ts:56


localPort

Optional localPort: number

Inherited from

Partial.localPort

Defined in

node_modules/@types/node/net.d.ts:57


lookup

Optional lookup: LookupFunction

Inherited from

Partial.lookup

Defined in

node_modules/@types/node/net.d.ts:60


maxFreeSockets

Optional maxFreeSockets: number

Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.

Defined in

node_modules/@types/node/http.d.ts:1376


maxSockets

Optional maxSockets: number

Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity

Defined in

node_modules/@types/node/http.d.ts:1368


maxTotalSockets

Optional maxTotalSockets: number

Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity.

Defined in

node_modules/@types/node/http.d.ts:1372


noDelay

Optional noDelay: boolean

Inherited from

Partial.noDelay

Defined in

node_modules/@types/node/net.d.ts:61


onread

Optional onread: OnReadOpts

If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will still be emitted as normal and methods like pause() and resume() will also behave as expected.

Inherited from

Partial.onread

Defined in

node_modules/@types/node/net.d.ts:51


port

Optional port: number

Inherited from

Partial.port

Defined in

node_modules/@types/node/net.d.ts:54


scheduling

Optional scheduling: "fifo" | "lifo"

Scheduling strategy to apply when picking the next free socket to use.

Default

lifo

Defined in

node_modules/@types/node/http.d.ts:1385


timeout

Optional timeout: number

Socket timeout in milliseconds. This will set the timeout after the socket is connected.

Defined in

node_modules/@types/node/http.d.ts:1380

Typescript Libraries

Modules

Namespaces

Clone this wiki locally