-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.ai function caller.index.<internal>.AgentOptions
index.<internal>.AgentOptions
Make all properties in T optional
-
↳
AgentOptions
- autoSelectFamily
- autoSelectFamilyAttemptTimeout
- family
- hints
- host
- keepAlive
- keepAliveInitialDelay
- keepAliveMsecs
- localAddress
- localPort
- lookup
- maxFreeSockets
- maxSockets
- maxTotalSockets
- noDelay
- onread
- port
- scheduling
- timeout
• Optional
autoSelectFamily: boolean
Since
v18.13.0
Partial.autoSelectFamily
node_modules/@types/node/net.d.ts:67
• Optional
autoSelectFamilyAttemptTimeout: number
Since
v18.13.0
Partial.autoSelectFamilyAttemptTimeout
node_modules/@types/node/net.d.ts:71
• Optional
family: number
Partial.family
node_modules/@types/node/net.d.ts:59
• Optional
hints: number
Partial.hints
node_modules/@types/node/net.d.ts:58
• Optional
host: string
Partial.host
node_modules/@types/node/net.d.ts:55
• Optional
keepAlive: boolean
Keep sockets around in a pool to be used by other requests in the future. Default = false
Partial.keepAlive
node_modules/@types/node/http.d.ts:1359
• Optional
keepAliveInitialDelay: number
Partial.keepAliveInitialDelay
node_modules/@types/node/net.d.ts:63
• 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.
node_modules/@types/node/http.d.ts:1364
• Optional
localAddress: string
Partial.localAddress
node_modules/@types/node/net.d.ts:56
• Optional
localPort: number
Partial.localPort
node_modules/@types/node/net.d.ts:57
• Optional
lookup: LookupFunction
Partial.lookup
node_modules/@types/node/net.d.ts:60
• Optional
maxFreeSockets: number
Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
node_modules/@types/node/http.d.ts:1376
• 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
node_modules/@types/node/http.d.ts:1368
• 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.
node_modules/@types/node/http.d.ts:1372
• Optional
noDelay: boolean
Partial.noDelay
node_modules/@types/node/net.d.ts:61
• 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.
Partial.onread
node_modules/@types/node/net.d.ts:51
• Optional
port: number
Partial.port
node_modules/@types/node/net.d.ts:54
• Optional
scheduling: "fifo"
| "lifo"
Scheduling strategy to apply when picking the next free socket to use.
Default
lifo
node_modules/@types/node/http.d.ts:1385
• Optional
timeout: number
Socket timeout in milliseconds. This will set the timeout after the socket is connected.
node_modules/@types/node/http.d.ts:1380
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary