tycono 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tui/app.tsx +4 -0
package/package.json
CHANGED
package/src/tui/app.tsx
CHANGED
|
@@ -402,6 +402,8 @@ export const App: React.FC = () => {
|
|
|
402
402
|
onFocusWave: (waveId) => {
|
|
403
403
|
setFocusedWaveId(waveId);
|
|
404
404
|
sse.clearEvents();
|
|
405
|
+
setSystemMessages([]); // Clear old messages
|
|
406
|
+
loadPreviousConversation(waveId);
|
|
405
407
|
},
|
|
406
408
|
onQuit: () => exit(),
|
|
407
409
|
onShowPanel: () => setMode('panel'),
|
|
@@ -647,6 +649,8 @@ export const App: React.FC = () => {
|
|
|
647
649
|
onFocusWave={(newWaveId) => {
|
|
648
650
|
setFocusedWaveId(newWaveId);
|
|
649
651
|
sse.clearEvents();
|
|
652
|
+
setSystemMessages([]);
|
|
653
|
+
loadPreviousConversation(newWaveId);
|
|
650
654
|
}}
|
|
651
655
|
/>
|
|
652
656
|
</Box>
|