mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 05:31:02 +00:00
Remove unused attribute (#6661)
This commit is contained in:
parent
0193ce77dd
commit
653267a64f
3 changed files with 0 additions and 13 deletions
|
|
@ -194,7 +194,6 @@ describe('useReactToolScheduler in YOLO Mode', () => {
|
|||
(mockToolRequiresConfirmation.execute as Mock).mockResolvedValue({
|
||||
llmContent: expectedOutput,
|
||||
returnDisplay: 'YOLO Formatted tool output',
|
||||
summary: 'YOLO summary',
|
||||
} as ToolResult);
|
||||
|
||||
const { result } = renderSchedulerInYoloMode();
|
||||
|
|
@ -352,7 +351,6 @@ describe('useReactToolScheduler', () => {
|
|||
(mockTool.execute as Mock).mockResolvedValue({
|
||||
llmContent: 'Tool output',
|
||||
returnDisplay: 'Formatted tool output',
|
||||
summary: 'Formatted summary',
|
||||
} as ToolResult);
|
||||
(mockTool.shouldConfirmExecute as Mock).mockResolvedValue(null);
|
||||
|
||||
|
|
@ -517,7 +515,6 @@ describe('useReactToolScheduler', () => {
|
|||
(mockToolRequiresConfirmation.execute as Mock).mockResolvedValue({
|
||||
llmContent: expectedOutput,
|
||||
returnDisplay: 'Confirmed display',
|
||||
summary: 'Confirmed summary',
|
||||
} as ToolResult);
|
||||
|
||||
const { result } = renderScheduler();
|
||||
|
|
@ -684,7 +681,6 @@ describe('useReactToolScheduler', () => {
|
|||
resolveExecutePromise({
|
||||
llmContent: 'Final output',
|
||||
returnDisplay: 'Final display',
|
||||
summary: 'Final summary',
|
||||
} as ToolResult);
|
||||
});
|
||||
await act(async () => {
|
||||
|
|
@ -718,7 +714,6 @@ describe('useReactToolScheduler', () => {
|
|||
tool1.execute.mockResolvedValue({
|
||||
llmContent: 'Output 1',
|
||||
returnDisplay: 'Display 1',
|
||||
summary: 'Summary 1',
|
||||
} as ToolResult);
|
||||
tool1.shouldConfirmExecute.mockResolvedValue(null);
|
||||
|
||||
|
|
@ -726,7 +721,6 @@ describe('useReactToolScheduler', () => {
|
|||
tool2.execute.mockResolvedValue({
|
||||
llmContent: 'Output 2',
|
||||
returnDisplay: 'Display 2',
|
||||
summary: 'Summary 2',
|
||||
} as ToolResult);
|
||||
tool2.shouldConfirmExecute.mockResolvedValue(null);
|
||||
|
||||
|
|
@ -809,7 +803,6 @@ describe('useReactToolScheduler', () => {
|
|||
resolve({
|
||||
llmContent: 'done',
|
||||
returnDisplay: 'done display',
|
||||
summary: 'done summary',
|
||||
}),
|
||||
50,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue