Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat: Agent component support inserting variables(#10048) (#10055)

Wilmeraa30f20730ff
diff --git a/web/src/pages/agent/form/agent-form/index.tsx b/web/src/pages/agent/form/agent-form/index.tsx
index 65fb364b7c..f38fbf17f3 100644
--- a/web/src/pages/agent/form/agent-form/index.tsx
+++ b/web/src/pages/agent/form/agent-form/index.tsx
@@ -145,7 +145,7 @@ function AgentForm({ node }: INextOperatorForm) {
<PromptEditor
{...field}
placeholder={t('flow.messagePlaceholder')}
- showToolbar={false}
+ showToolbar={true}
extraOptions={extraOptions}
></PromptEditor>
</FormControl>
@@ -166,7 +166,7 @@ function AgentForm({ node }: INextOperatorForm) {
<section>
<PromptEditor
{...field}
- showToolbar={false}
+ showToolbar={true}
></PromptEditor>
</section>
</FormControl>