diff --git a/packages/@n8n/chat/README.md b/packages/@n8n/chat/README.md index 6299c80d12..4501b86cc5 100644 --- a/packages/@n8n/chat/README.md +++ b/packages/@n8n/chat/README.md @@ -112,6 +112,7 @@ createChat({ mode: 'window', chatInputKey: 'chatInput', chatSessionKey: 'sessionId', + loadPreviousSession: true, metadata: {}, showWelcomeScreen: false, defaultLanguage: 'en', @@ -161,15 +162,20 @@ createChat({ - **Default**: `false` - **Description**: Whether to show the welcome screen when the Chat window is opened. +### `chatInputKey` +- **Type**: `string` +- **Default**: `'chatInput'` +- **Description**: The key to use for sending the chat input for the AI Agent node. + ### `chatSessionKey` - **Type**: `string` - **Default**: `'sessionId'` - **Description**: The key to use for sending the chat history session ID for the AI Memory node. -### `chatInputKey` -- **Type**: `string` -- **Default**: `'chatInput'` -- **Description**: The key to use for sending the chat input for the AI Agent node. +### `loadPreviousSession` +- **Type**: `boolean` +- **Default**: `true` +- **Description**: Whether to load previous messages (chat context). ### `defaultLanguage` - **Type**: `string`