mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 22:48:14 -05:00
Added password for api key in tool input
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user