Added password for api key in tool input

This commit is contained in:
Emir Karabeg
2025-02-04 15:38:16 -08:00
parent 56af328f20
commit 1e3beec39f

View File

@@ -235,7 +235,10 @@ export function ToolInput({ blockId, subBlockId }: ToolInputProps) {
blockId={blockId}
subBlockId={`${subBlockId}-param`}
placeholder={param.description}
password={param.type === 'password'}
password={
param.id.toLowerCase().replace(/\s+/g, '') ===
'apikey'
}
isConnecting={false}
config={{
id: `${subBlockId}-param`,