fix: 批量修正 external 字面量
This commit is contained in:
1 parent
799dacc407
commit
ac1f02958c
31 files changed
+97
-100
No files matched your search
@@ -161,7 +161,7 @@ export const TaskOutputTool: Tool<InputSchema, TaskOutputToolOutput> = buildTool
|
||||
return this.isReadOnly?.(_input) ?? false;
|
||||
},
|
||||
isEnabled() {
|
||||
return ("external" as string) !== 'ant';
|
||||
return (process.env.USER_TYPE) !== 'ant';
|
||||
},
|
||||
isReadOnly(_input) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user