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:
@@ -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 = [
|
||||
{
|
||||
|
||||
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user