mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Remove unused attribute (#6661)
This commit is contained in:
committed by
GitHub
parent
0193ce77dd
commit
653267a64f
@@ -101,7 +101,6 @@ describe('DeclarativeTool', () => {
|
||||
const successResult: ToolResult = {
|
||||
llmContent: 'Success!',
|
||||
returnDisplay: 'Success!',
|
||||
summary: 'Tool executed successfully',
|
||||
};
|
||||
const executeFn = vi.fn().mockResolvedValue(successResult);
|
||||
const invocation = new TestToolInvocation({}, executeFn);
|
||||
|
||||
@@ -308,11 +308,6 @@ export abstract class BaseDeclarativeTool<
|
||||
export type AnyDeclarativeTool = DeclarativeTool<object, ToolResult>;
|
||||
|
||||
export interface ToolResult {
|
||||
/**
|
||||
* A short, one-line summary of the tool's action and result.
|
||||
* e.g., "Read 5 files", "Wrote 256 bytes to foo.txt"
|
||||
*/
|
||||
summary?: string;
|
||||
/**
|
||||
* Content meant to be included in LLM history.
|
||||
* This should represent the factual outcome of the tool execution.
|
||||
|
||||
Reference in New Issue
Block a user