Add missing InternService.new_show() method

Session.reset() calls intern_service.new_show() to reset per-show state,
but the method was never defined (added in 376265e without the impl).
Clears pending_interjection, pending_sources, and research_cache.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 02:02:53 -06:00
co-authored by Claude Opus 4.6
parent 1b988a0303
commit ca7e82f19f
+5
View File
@@ -584,6 +584,11 @@ class InternService:
self.pending_interjection = None self.pending_interjection = None
self.pending_sources = [] self.pending_sources = []
def new_show(self):
self.pending_interjection = None
self.pending_sources = []
self.research_cache = {}
@staticmethod @staticmethod
def _clean_for_tts(text: str) -> str: def _clean_for_tts(text: str) -> str:
if not text: if not text: