Support define is tool logic function (#17926)
- supports isTool and timeout settings in defineLogicFunction in apps and in setting tabs definition - compute for all toolInputSchema for logic funciton, in settings and in code steps <img width="991" height="802" alt="image" src="https://github.com/user-attachments/assets/05dc1221-cac9-45a3-87b0-3b13161446fd" />
This commit is contained in:
@@ -42,6 +42,10 @@ export const useExecuteLogicFunction = ({
|
||||
);
|
||||
|
||||
const executeLogicFunction = async () => {
|
||||
if (isExecuting) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
setIsExecuting(true);
|
||||
await sleep(200); // Delay artificially to avoid flashing the UI
|
||||
|
||||
Reference in New Issue
Block a user