mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: reset is_background (#644)
This commit is contained in:
@@ -419,6 +419,11 @@ export class ShellTool extends BaseDeclarativeTool<
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
description: getCommandDescription(),
|
description: getCommandDescription(),
|
||||||
},
|
},
|
||||||
|
is_background: {
|
||||||
|
type: 'boolean',
|
||||||
|
description:
|
||||||
|
'Whether to run the command in background. Default is false. Set to true for long-running processes like development servers, watchers, or daemons that should continue running without blocking further commands.',
|
||||||
|
},
|
||||||
description: {
|
description: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
description:
|
description:
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ const ajValidator = new AjvClass({ coerceTypes: true });
|
|||||||
const addFormatsFunc = (addFormats as any).default || addFormats;
|
const addFormatsFunc = (addFormats as any).default || addFormats;
|
||||||
addFormatsFunc(ajValidator);
|
addFormatsFunc(ajValidator);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple utility to validate objects against JSON Schemas
|
* Simple utility to validate objects against JSON Schemas
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user