Merge pull request #153 from funwarioisii/fix-tool-call-textarea
Fix ToolsTab Textarea value for clearing when switch tool
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user