Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(web): allow unlimited text input in trial apps (#40403)
非法操作7e7548cd18ed
diff --git a/web/app/components/share/text-generation/run-once/__tests__/index.spec.tsx b/web/app/components/share/text-generation/run-once/__tests__/index.spec.tsxindex 383f8f63ea0..41d7f693017 100644--- a/web/app/components/share/text-generation/run-once/__tests__/index.spec.tsx+++ b/web/app/components/share/text-generation/run-once/__tests__/index.spec.tsx@@ -493,7 +493,7 @@ describe('RunOnce', () => {})describe('maxLength behavior', () => {- it('should not have maxLength attribute when max_length is not set', async () => {+ it('should not have maxLength attribute when max_length is zero', async () => {const promptConfig: PromptConfig = {prompt_template: 'template',prompt_variables: [@@ -501,6 +501,7 @@ describe('RunOnce', () => {key: 'textInput',name: 'Text Input',type: 'string',+ max_length: 0,}),],}diff --git a/web/app/components/share/text-generation/run-once/index.tsx b/web/app/components/share/text-generation/run-once/index.tsxindex d5ba4321030..083b3ec3d5b 100644--- a/web/app/components/share/text-generation/run-once/index.tsx+++ b/web/app/components/share/text-generation/run-once/index.tsx@@ -176,7 +176,7 @@ const RunOnce: FC<IRunOnceProps> = ({[item.key]: e.target.value,})}}- maxLength={item.max_length}+ maxLength={item.max_length || undefined}/>)}{item.type === 'paragraph' && (