Merge pull request #153 from funwarioisii/fix-tool-call-textarea

Fix ToolsTab Textarea value for clearing when switch tool
This commit is contained in:
Justin Spahr-Summers
2025-02-19 15:08:42 +00:00
committed by GitHub

View File

@@ -202,6 +202,7 @@ const ToolsTab = ({
id={key} id={key}
name={key} name={key}
placeholder={prop.description} placeholder={prop.description}
value={(params[key] as string) ?? ""}
onChange={(e) => onChange={(e) =>
setParams({ setParams({
...params, ...params,