mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: add patch for sync upstream
This commit is contained in:
@@ -382,9 +382,7 @@ export class ShellTool extends BaseDeclarativeTool<
|
||||
);
|
||||
}
|
||||
|
||||
protected override validateToolParams(
|
||||
params: ShellToolParams,
|
||||
): string | null {
|
||||
override validateToolParams(params: ShellToolParams): string | null {
|
||||
const commandCheck = isCommandAllowed(params.command, this.config);
|
||||
if (!commandCheck.allowed) {
|
||||
if (!commandCheck.reason) {
|
||||
|
||||
Reference in New Issue
Block a user