fix(oauth-selector): added oauth selector back for tools that it was missing from

This commit is contained in:
Waleed Latif
2025-05-14 09:57:56 -07:00
parent 7010c2d45a
commit 575a482273
@@ -673,7 +673,7 @@ export function ToolInput({ blockId, subBlockId }: ToolInputProps) {
const toolBlock = !isCustomTool
? toolBlocks.find((block) => block.type === tool.type)
: null
const toolId = !isCustomTool ? (tool.operation ?? getToolIdFromBlock(tool.type)) : null
const toolId = !isCustomTool ? getToolIdFromBlock(tool.type) : null
const hasOperations = !isCustomTool && hasMultipleOperations(tool.type)
const operationOptions = hasOperations ? getOperationOptions(tool.type) : []