We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2741413 commit eb8b17eCopy full SHA for eb8b17e
apps/sim/tools/index.ts
@@ -829,8 +829,8 @@ export async function executeTool(
829
}
830
831
const strippedOutput = isCustomTool(normalizedToolId)
832
- ? finalResult.output || {}
833
- : stripInternalFields(finalResult.output || {})
+ ? finalResult.output
+ : stripInternalFields(finalResult.output ?? {})
834
835
return {
836
...finalResult,
@@ -886,8 +886,8 @@ export async function executeTool(
886
887
888
889
890
891
892
893
0 commit comments