mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
perf: support prompt editor dynamic height increase & modify aichat placeholder (#2817)
This commit is contained in:
@@ -192,7 +192,7 @@ export const emptyTemplates: Record<
|
||||
max: 3000,
|
||||
valueType: WorkflowIOValueTypeEnum.string,
|
||||
label: 'core.ai.Prompt',
|
||||
description: 'core.app.tip.chatNodeSystemPromptTip',
|
||||
description: 'core.app.tip.systemPromptTip',
|
||||
placeholder: 'core.app.tip.chatNodeSystemPromptTip',
|
||||
value: ''
|
||||
},
|
||||
|
@@ -140,7 +140,7 @@ export function form2AppWorkflow(
|
||||
max: 3000,
|
||||
valueType: WorkflowIOValueTypeEnum.string,
|
||||
label: 'core.ai.Prompt',
|
||||
description: 'core.app.tip.chatNodeSystemPromptTip',
|
||||
description: 'core.app.tip.systemPromptTip',
|
||||
placeholder: 'core.app.tip.chatNodeSystemPromptTip',
|
||||
value: formData.aiSettings.systemPrompt
|
||||
},
|
||||
@@ -461,7 +461,7 @@ export function form2AppWorkflow(
|
||||
max: 3000,
|
||||
valueType: WorkflowIOValueTypeEnum.string,
|
||||
label: 'core.ai.Prompt',
|
||||
description: 'core.app.tip.chatNodeSystemPromptTip',
|
||||
description: 'core.app.tip.systemPromptTip',
|
||||
placeholder: 'core.app.tip.chatNodeSystemPromptTip',
|
||||
value: formData.aiSettings.systemPrompt
|
||||
},
|
||||
|
Reference in New Issue
Block a user