Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
10a7aa2
1
Parent(s): 7b5b0b5
Show fun running messages for all tools including research
Browse files
frontend/src/components/Chat/ToolCallGroup.tsx
CHANGED
|
@@ -725,11 +725,6 @@ export default function ToolCallGroup({ tools, approveTools }: ToolCallGroupProp
|
|
| 725 |
// Tool completed but has no output - show input as fallback
|
| 726 |
setPanel({ title: displayName, output: { content: JSON.stringify(args, null, 2), language: 'json' }, input: inputSection }, 'output');
|
| 727 |
setRightPanelOpen(true);
|
| 728 |
-
} else if (isRunning && args) {
|
| 729 |
-
// Tool is still running - show running message
|
| 730 |
-
const content = `Tool \`${tool.toolName}\` is still running...\n\nClick the input tab to view the tool arguments.`;
|
| 731 |
-
setPanel({ title: displayName, output: { content, language: 'markdown' }, input: inputSection }, 'output');
|
| 732 |
-
setRightPanelOpen(true);
|
| 733 |
} else if (args) {
|
| 734 |
const runningMessages = [
|
| 735 |
'Crunching numbers and herding tensors...',
|
|
|
|
| 725 |
// Tool completed but has no output - show input as fallback
|
| 726 |
setPanel({ title: displayName, output: { content: JSON.stringify(args, null, 2), language: 'json' }, input: inputSection }, 'output');
|
| 727 |
setRightPanelOpen(true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 728 |
} else if (args) {
|
| 729 |
const runningMessages = [
|
| 730 |
'Crunching numbers and herding tensors...',
|