Spaces:
Sleeping
Sleeping
stop thinking spinner on final response
Browse files- web/src/App.tsx +2 -0
web/src/App.tsx
CHANGED
|
@@ -491,6 +491,8 @@ function App() {
|
|
| 491 |
);
|
| 492 |
} else if (event === 'response') {
|
| 493 |
// Final response - preserve error flags from existing tool calls
|
|
|
|
|
|
|
| 494 |
setMessages((prev) =>
|
| 495 |
prev.map((msg) =>
|
| 496 |
msg.id === assistantId
|
|
|
|
| 491 |
);
|
| 492 |
} else if (event === 'response') {
|
| 493 |
// Final response - preserve error flags from existing tool calls
|
| 494 |
+
setIsLoading(false);
|
| 495 |
+
setStatusMessage('');
|
| 496 |
setMessages((prev) =>
|
| 497 |
prev.map((msg) =>
|
| 498 |
msg.id === assistantId
|