Saltar al contenido principal

@agentshelf/external-agents-sdk / StreamMessageInput

Type Alias: StreamMessageInput

type StreamMessageInput = {
content: string;
conversationRef: ConversationRef;
fileRefs?: FileRef[];
hostContext?: RuntimeHostContext | JsonObject;
idempotencyKey?: IdempotencyKey;
outputModuleTypes?: string[];
providerGroundingDisplay?: boolean;
signal?: AbortSignal;
streamProfile?: RuntimeStreamProfile;
};

Properties

content

content: string;

conversationRef

conversationRef: ConversationRef;

fileRefs?

optional fileRefs?: FileRef[];

hostContext?

optional hostContext?: RuntimeHostContext | JsonObject;

idempotencyKey?

optional idempotencyKey?: IdempotencyKey;

outputModuleTypes?

optional outputModuleTypes?: string[];

providerGroundingDisplay?

optional providerGroundingDisplay?: boolean;

signal?

optional signal?: AbortSignal;

streamProfile?

optional streamProfile?: RuntimeStreamProfile;