mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Add message history trimming to AI workflow builder (no-changelog) (#17829)
This commit is contained in:
@@ -135,6 +135,7 @@ watch(currentRoute, () => {
|
||||
:show-stop="true"
|
||||
:scroll-on-new-message="true"
|
||||
:placeholder="i18n.baseText('aiAssistant.builder.placeholder')"
|
||||
:max-length="1000"
|
||||
@close="emit('close')"
|
||||
@message="onUserMessage"
|
||||
@feedback="onFeedback"
|
||||
|
||||
@@ -127,6 +127,7 @@ function onAddNodeClick() {
|
||||
:placeholder="i18n.baseText('aiAssistant.builder.placeholder')"
|
||||
:read-only="false"
|
||||
:rows="15"
|
||||
:maxlength="1000"
|
||||
@focus="isFocused = true"
|
||||
@blur="isFocused = false"
|
||||
@keydown.meta.enter.stop="onSubmit"
|
||||
|
||||
@@ -9,7 +9,7 @@ exports[`CanvasNodeAIPrompt > should render component correctly 1`] = `
|
||||
<form class="form">
|
||||
<div class="el-textarea el-input--large n8n-input formTextarea formTextarea">
|
||||
<!-- input -->
|
||||
<!-- textarea --><textarea class="el-textarea__inner" name="aiBuilderPrompt" rows="15" title="" read-only="false" tabindex="0" autocomplete="off" placeholder="Ask n8n to build..."></textarea>
|
||||
<!-- textarea --><textarea class="el-textarea__inner" name="aiBuilderPrompt" rows="15" title="" maxlength="1000" read-only="false" tabindex="0" autocomplete="off" placeholder="Ask n8n to build..."></textarea>
|
||||
<!--v-if-->
|
||||
</div>
|
||||
<footer class="formFooter"><button class="button button primary medium disabled" disabled="" aria-disabled="true" aria-live="polite" type="submit">
|
||||
|
||||
Reference in New Issue
Block a user