Add process_thought constructor argument to TranscriptProcessor to control whether to handle thoughts in addition to assistant utterances. Defaults to False.

This commit is contained in:
Paul Kompfner
2025-12-08 10:27:36 -05:00
parent 8ccc2cbf31
commit 61674d7758
4 changed files with 32 additions and 21 deletions

View File

@@ -125,7 +125,7 @@ async def run_bot(
tools = ToolsSchema(standard_tools=[check_flight_status, book_taxi])
transcript = TranscriptProcessor()
transcript = TranscriptProcessor(process_thoughts=True)
messages = [
{

View File

@@ -99,7 +99,7 @@ async def run_bot(
else:
raise ValueError(f"Unsupported LLM provider: {llm_provider}")
transcript = TranscriptProcessor()
transcript = TranscriptProcessor(process_thoughts=True)
messages = [
{