feat(web): memory-write add messages config

This commit is contained in:
zhaoying
2026-02-09 20:11:48 +08:00
parent dfd79e5972
commit 936fb8b8a1
5 changed files with 17 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 15:06:18
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-05 14:15:13
* @Last Modified time: 2026-02-09 20:08:03
*/
import LoopNode from './components/Nodes/LoopNode';
import NormalNode from './components/Nodes/NormalNode';
@@ -242,6 +242,12 @@ export const nodeLibrary: NodeLibrary[] = [
type: 'editor',
isArray: false
},
messages: {
type: 'messageEditor',
defaultValue: [],
placeholder: 'workflow.config.llm.messagesPlaceholder',
isArray: true
},
config_id: {
type: 'customSelect',
url: memoryConfigListUrl,