'
- f'| '
- f'J'
+ f' | '
+ f''
f' | '
f''
f'Javis'
@@ -4535,7 +4494,7 @@ def run_gui(config: Config) -> int:
f' | '
f'{ts} tool {direction}'
- f' {e(text)}'
f' | '
f'
'
@@ -4568,9 +4527,11 @@ def run_gui(config: Config) -> int:
)
def _append(self, who: str, text: str):
+ ts = time.strftime("%H:%M:%S")
+ self._conv_log.append((who, text, ts))
cur = self.conv_view.textCursor()
cur.movePosition(QtGui.QTextCursor.End)
- cur.insertHtml(self._bubble_html(who, text))
+ cur.insertHtml(self._bubble_html(who, text, ts))
cur.insertBlock()
self.conv_view.setTextCursor(cur)
self.conv_view.ensureCursorVisible()
@@ -4578,12 +4539,13 @@ def run_gui(config: Config) -> int:
def _begin_assistant_bubble(self):
ts = time.strftime("%H:%M:%S")
+ self._assistant_ts = ts
cur = self.conv_view.textCursor()
cur.movePosition(QtGui.QTextCursor.End)
cur.insertBlock()
cur.insertHtml(
- f'