feat: support random param and default config (#50)

This commit is contained in:
ReaJason
2025-04-05 22:47:48 +08:00
parent 647dd43228
commit 13c817b485
35 changed files with 251 additions and 116 deletions
+3 -1
View File
@@ -28,7 +28,9 @@ export function CommandTabContent({
name="commandParamName"
render={({ field }) => (
<FormItem className="gap-1">
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.paramName")}</FormLabel>
<FormLabel className="h-6 flex items-center gap-1">
{t("shellToolConfig.paramName")} {t("optional")}
</FormLabel>
<FormControl>
<Input {...field} placeholder={t("shellToolConfig.paramName")} className="h-8" />
</FormControl>