SSEConnection: {
authProvider: undefined | OAuthClientProvider;
automaticSSEFallback: undefined | boolean;
headers: undefined | Record<string, string>;
outputHandling:
| undefined
| "content"
| "artifact"
| {
audio: undefined | "content" | "artifact";
image: undefined | "content" | "artifact";
resource: undefined | "content" | "artifact";
text: undefined | "content" | "artifact";
};
reconnect: undefined | {
delayMs?: number;
enabled?: boolean;
maxAttempts?: number;
};
transport: undefined | "http" | "sse";
type: undefined | "http" | "sse";
url: string;
}
Type alias for backward compatibility with previous versions of the package.