浏览代码

Fix number input in tool configure form of agent node tool item (#24154)

tags/1.8.0
KVOJJJin 2 个月前
父节点
当前提交
5f0b52c017
没有帐户链接到提交者的电子邮件

+ 1
- 1
web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx 查看文件

@@ -259,7 +259,7 @@ const ReasoningConfigForm: React.FC<Props> = ({
className='h-8 grow'
type='number'
value={varInput?.value || ''}
onChange={handleValueChange(variable, type)}
onChange={e => handleValueChange(variable, type)(e.target.value)}
placeholder={placeholder?.[language] || placeholder?.en_US}
/>
)}

正在加载...
取消
保存