@n8n/chat 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md CHANGED
@@ -3,9 +3,11 @@
3
3
  Portions of this software are licensed as follows:
4
4
 
5
5
  - Content of branches other than the main branch (i.e. "master") are not licensed.
6
- - Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License.
7
- To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License
8
- specifically allowing you access to such source code files and as defined in "LICENSE_EE.md".
6
+ - Source code files that contain ".ee." in their filename or ".ee" in their dirname are NOT licensed under
7
+ the Sustainable Use License.
8
+ To use source code files that contain ".ee." in their filename or ".ee" in their dirname you must hold a
9
+ valid n8n Enterprise License specifically allowing you access to such source code files and as defined
10
+ in "LICENSE_EE.md".
9
11
  - All third party components incorporated into the n8n Software are licensed under the original license
10
12
  provided by the owner of the applicable component.
11
13
  - Content outside of the above mentioned files or restrictions is available under the "Sustainable Use
package/README.md CHANGED
@@ -112,6 +112,7 @@ createChat({
112
112
  mode: 'window',
113
113
  chatInputKey: 'chatInput',
114
114
  chatSessionKey: 'sessionId',
115
+ loadPreviousSession: true,
115
116
  metadata: {},
116
117
  showWelcomeScreen: false,
117
118
  defaultLanguage: 'en',
@@ -161,15 +162,20 @@ createChat({
161
162
  - **Default**: `false`
162
163
  - **Description**: Whether to show the welcome screen when the Chat window is opened.
163
164
 
165
+ ### `chatInputKey`
166
+ - **Type**: `string`
167
+ - **Default**: `'chatInput'`
168
+ - **Description**: The key to use for sending the chat input for the AI Agent node.
169
+
164
170
  ### `chatSessionKey`
165
171
  - **Type**: `string`
166
172
  - **Default**: `'sessionId'`
167
173
  - **Description**: The key to use for sending the chat history session ID for the AI Memory node.
168
174
 
169
- ### `chatInputKey`
170
- - **Type**: `string`
171
- - **Default**: `'chatInput'`
172
- - **Description**: The key to use for sending the chat input for the AI Agent node.
175
+ ### `loadPreviousSession`
176
+ - **Type**: `boolean`
177
+ - **Default**: `true`
178
+ - **Description**: Whether to load previous messages (chat context).
173
179
 
174
180
  ### `defaultLanguage`
175
181
  - **Type**: `string`