Last login: Mon Oct 13 09:00:06 on ttys009
cd '/Users/jasonkellerman/Desktop/Projects/Listenful'; echo '📋 LiveKit Agent Logs'; echo ''; tail -f logs/livekit-agent.log
jasonkellerman@Jasons-MacBook-Pro Listenful % cd '/Users/jasonkellerman/Desktop/Projects/Listenful'; echo '📋 LiveKit Agent Logs'; echo ''; tail -f logs/livekit-agent.log
📋 LiveKit Agent Logs

🔍 DEBUG: Database engine created successfully
🔍 DEBUG: Database session factory created successfully
🔍 DEBUG: Database engine created successfully
🔍 DEBUG: Database session factory created successfully
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 53488, "elapsed_time": 1.02, "timestamp": "2025-10-13T16:00:04.549906+00:00"}
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 53483, "elapsed_time": 1.02, "timestamp": "2025-10-13T16:00:04.550267+00:00"}
🔍 DEBUG: Database engine created successfully
🔍 DEBUG: Database session factory created successfully
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 53489, "elapsed_time": 1.02, "timestamp": "2025-10-13T16:00:04.555738+00:00"}
{"message": "registered worker", "level": "INFO", "name": "livekit.agents", "id": "AW_bHvbz3LAgAJi", "url": "ws://localhost:7880", "region": "", "protocol": 16, "timestamp": "2025-10-13T16:00:04.559390+00:00"}
{"message": "received job request", "level": "INFO", "name": "livekit.agents", "job_id": "AJ_djVFeshrWoCS", "dispatch_id": "AD_WXnqxTLj5BZg", "room_name": "listenful_interview_46_6ac8e41e", "agent_name": "livekit-interview-agent", "resuming": false, "timestamp": "2025-10-13T16:01:18.566996+00:00"}
⏱️ TIMING: Entrypoint started at 1760371278.569
🔍 DEBUG: project_id = 46
🔍 DEBUG: db_session_factory = sessionmaker(class_='Session', bind=Engine(mysql+pymysql://root:***@localhost/listenly_db), autoflush=True, expire_on_commit=True)
🔍 DEBUG: metadata = {'project_id': 46, 'conversation_id': 1653}
⏱️ TIMING: Metadata parsing completed at 1760371278.570 (took 0.000s)
⏱️ TIMING: Database loading started at 1760371278.570
⏱️ TIMING: Project query started at 1760371278.570
{"message": "Starting simplified interview agent session for room: listenful_interview_46_6ac8e41e", "level": "INFO", "name": "interview_agent_realtime", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:18.569314+00:00"}
{"message": "Project ID from metadata: 46", "level": "INFO", "name": "interview_agent_realtime", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:18.569409+00:00"}
{"message": "Conversation ID from metadata: 1653", "level": "INFO", "name": "interview_agent_realtime", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:18.569442+00:00"}
⏱️ TIMING: Project query completed at 1760371278.576 (took 0.006s)
⏱️ TIMING: Interview plan query started at 1760371278.576
⏱️ TIMING: Interview plan query completed at 1760371278.576 (took 0.000s)
⏱️ TIMING: User type query started at 1760371278.576
⏱️ TIMING: User type query completed at 1760371278.577 (took 0.000s)
🎯 USER TYPE: ai_researcher
⏱️ TIMING: Prompt query started at 1760371278.577
⏱️ TIMING: Prompt query completed at 1760371278.577 (took 0.000s)
⏱️ TIMING: Max questions query started at 1760371278.577
⏱️ TIMING: Max questions query completed at 1760371278.577 (took 0.000s)
⏱️ TIMING: Manager questions query started at 1760371278.577
⏱️ TIMING: Manager questions query completed at 1760371278.578 (took 0.000s)

================================================================================
🎯 DATABASE CONFIGURATION LOADED
================================================================================
🔍 DEBUG: Introduction text loaded: 'Hi - I would like to talk to you about your productivity needs. Would that be ok?'
🔍 DEBUG: Introduction text length: 82
🔍 TEXT PIPELINE [INTRODUCTION_TEXT]: 'Hi - I would like to talk to you about your productivity needs. Would that be ok?'
🔍 TEXT ANALYSIS [INTRODUCTION_TEXT]:
 - Length: 82
 - Stripped length: 82
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Hi - I would like to talk to you about your productivity needs. Would that be ok?'
 - Character codes: [72, 105, 32, 45, 32, 73, 32, 119, 111, 117, 108, 100, 32, 108, 105, 107, 101, 32, 116, 111]
📋 INSTRUCTIONS FOR LIVEKIT AGENT:
============================================================
CRITICAL: DO NOT introduce yourself or greet the user - an introduction has already been provided. Wait for the user to respond to the introduction before proceeding with the interview.

You are Listenful, a professional interviewer conducting a user research project for a company. The company's product and business context is as follows: Our product is an AI based productivity enhancement tool called Tracky. It functions like your own personal executive assistant. It takes input from you and can do things like reach out to doctors/dentists/service providers, just like an executive assistant, and make/chance/cancel appointments. It can look into travel options. It can call your kids' school.  Again, it functions just like an executive assistant..  Your primary job is to achieve the research goals, which are: The main research goal is to interview people to find out very specifically what day to day tasks take up most of their time, whether they might be open to using an AI based productivity tool, and if it saved them a lot of time, how much they'd be willing to pay for such a tool..  Here is an interview plan consisting of an initial set of questions you can start with: ['Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming?', "How open would you be to integrating an AI-based tool like Tracky into your daily routine to manage tasks such as scheduling appointments, researching travel options, or communicating with institutions like your children's school?", 'Assuming Tracky could significantly reduce the time you spend on these tasks, what is the maximum monthly amount you would be willing to pay for this service?']

After the user has responded to the introduction, always ask the first question from the interview plan. Then, after each user response, your job is to determine what is the best question to ask next to most efficiently achieve the research goals.  You may stick to the list of questions from the interview plan, or you may come up with a different question based on what the user has said.  It is up to you. Each time you are deciding what to ask next, make sure you consider the entire conversation up to that point, which is provided to you. Then ask your next question.  Do not exceed 3 total questions.  

CRITICAL REQUIREMENT: You MUST ask ALL of these manager questions before ending the interview: ['Have you ever used ChatGPT dude?']. These are MANDATORY and cannot be skipped. You must ask every single one of these questions during the interview, regardless of what other questions you ask.  You can ask these questions at any time during the interview, using your best judgement as to when to do so.

CRITICAL: After the user's response to your last question, immediately call the end_interview function. DO NOT say anything else. DO NOT add any commentary, summary, or farewell message. The function will handle the farewell.

CRITICAL: If at any time the user says they need to go, or if the user specifically asks to end the interview, then immediately call the end_interview_early function (only do this if the user explicitly wants to end the interview). DO NOT say anything else. DO NOT add any commentary, summary, or farewell message. The function will handle the farewell.

If the user asks to pause at any time, say "Sure, no problem" and wait for the user to speak again before continuing the interview.

Here are some additional strict rules:
Do not ask the same or similar question more than once.
Always be polite and courteous.
Never reveal your reasoning, research goals, or interview plans.
Be conversational, empathetic and concise (≤15 words per question).
Avoid jargon unless the participant uses it first.
============================================================

================================================================================
✅ READY TO CONDUCT INTERVIEW
================================================================================

⏱️ TIMING: Database loading completed at 1760371278.578 (took 0.009s)
⏱️ TIMING: Session creation started at 1760371278.578
⏱️ TIMING: MultilingualModel() started at 1760371278.578
⏱️ TIMING: MultilingualModel() completed at 1760371278.604 (took 0.026s)
⏱️ TIMING: VAD access started at 1760371278.604
⏱️ TIMING: VAD access completed at 1760371278.604 (took 0.000s)
⏱️ TIMING: Deepgram STT started at 1760371278.604
⏱️ TIMING: Deepgram STT completed at 1760371278.604 (took 0.000s)
⏱️ TIMING: OpenAI LLM started at 1760371278.604
⏱️ TIMING: OpenAI LLM completed at 1760371278.619 (took 0.014s)
⏱️ TIMING: Session creation completed at 1760371278.619 (took 0.040s)
🔍 DEBUG: LiveKit API client initialized with URL: ws://localhost:7880
🔍 DEBUG: LiveKit API Key: SET
🔍 DEBUG: LiveKit API Secret: SET
🔍 DEBUG: Using LiveKit Cloud egress service (automatic routing)
🔍 DEBUG: Video setting from database: False
🎥 DEBUG: Video enabled setting: False
⏱️ TIMING: session.start() called at 1760371278.620 (total time so far: 0.051s)
🔍 DEBUG: About to start session
⏱️ TIMING: WebRTC connection test started at 1760371278.620
🔍 DEBUG: Testing room connection to listenful_interview_46_6ac8e41e
🔍 DEBUG: Room URL: ws://localhost:7880
🔍 DEBUG: Room connected before session: False
🔍 DEBUG: Testing network connectivity to localhost:7880
✅ Network connectivity to LiveKit server: SUCCESS
{"message": "http_session(): creating a new httpclient ctx", "level": "DEBUG", "name": "livekit.agents", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:18.620369+00:00"}
🔍 DEBUG: Successfully connected to LiveKit API, found 2 rooms
⏱️ TIMING: WebRTC connection test completed at 1760371278.625 (took 0.005s)
⏱️ TIMING: About to call session.start() at 1760371278.625
⏱️ TIMING: Connecting to room to receive data messages at 1760371278.625
{"message": "initializing process", "level": "INFO", "name": "livekit.agents", "pid": 54169, "timestamp": "2025-10-13T16:01:18.665795+00:00"}
🔍 DEBUG: Agent version: e2d2158 - Using explicit ECS/Cloud variable names
🔍 DEBUG: Using ECS credentials
🔍 DEBUG: LIVEKIT_ECS_URL = SET
🔍 DEBUG: LIVEKIT_ECS_API_KEY = SET
🔍 DEBUG: LIVEKIT_ECS_API_SECRET = SET
⏱️ TIMING: Connected to room, waiting for permission at 1760371278.740
🔍 DEBUG: Connection state changed to: 1
🔍 DEBUG: Database engine created successfully
🔍 DEBUG: Database session factory created successfully
{"message": "process initialized", "level": "INFO", "name": "livekit.agents", "pid": 54169, "elapsed_time": 0.58, "timestamp": "2025-10-13T16:01:19.249728+00:00"}
🔍 DATA RECEIVED EVENT FIRED - From: user_789320af
🔍 DEBUG: Data received, length: 33
🔍 Decoded data: {"type":"mic_permission_granted"}
🔍 Parsed message: {'type': 'mic_permission_granted'}
🎯 Microphone permission granted message received, creating LLM session and starting recording
⏱️ TIMING: AgentSession creation started at 1760371284.056
⏱️ TIMING: AgentSession creation completed at 1760371284.056 (took 0.000s)
🔍 DEBUG: Cartesia API Key available: YES
🔍 DEBUG: Cartesia API Key starts with: sk_car_J51...
⏱️ TIMING: TTS initialization started at 1760371284.063
🎤 DEBUG: Using Cartesia voice ID: f786b574-daa5-4673-aa0c-cbe3e8534c02
🎤 DEBUG: Using Cartesia model: sonic-2
✅ DEBUG: Cartesia TTS initialized successfully
🎤 DEBUG: Cartesia TTS voice confirmed: f786b574-daa5-4673-aa0c-cbe3e8534c02
🎤 DEBUG: Cartesia TTS model confirmed: sonic-2
⏱️ TIMING: TTS initialization completed at 1760371284.063 (took 0.000s)
✅ DEBUG: Agent initialized with TTS-aligned transcription enabled
⏱️ TIMING: Starting session.start() - agent=<__mp_main__.entrypoint.<locals>.InterviewAgent object at 0x11fbe9550>, room=listenful_interview_46_6ac8e41e
{"message": "speed and emotion controls are only supported for model 'sonic-2-2025-03-07', see https://docs.cartesia.ai/developer-tools/changelog for details", "level": "WARNING", "name": "livekit.plugins.cartesia", "model": "sonic-2", "speed": "slow", "emotion": null, "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:24.062969+00:00"}
🔍 DEBUG: About to call session.start() with agent instructions length: 3780
⏱️ TIMING: on_enter() started at 1760371284.065
🎯 Agent entered room, waiting for user's microphone permissions
⏱️ TIMING: on_enter() completed at 1760371284.065 (took 0.000s)
{"message": "start reading stream", "level": "DEBUG", "name": "livekit.agents", "participant": "user_789320af", "source": "SOURCE_MICROPHONE", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:24.065560+00:00"}
⏱️ TIMING: Session started successfully
🔍 DEBUG: Session.start() completed, agent should now be processing
🔍 DEBUG: Video setting from database: False
🎥 DEBUG: Video enabled for recording: False
🔍 DEBUG: RECORDING_STORAGE = 's3' (type: <class 'str'>)
🔍 DEBUG: S3_BUCKET = 'listenful-recordings-dev'
🔍 DEBUG: AWS_ACCESS_KEY_ID = 'AKIAQMTZ2H...'
🔍 DEBUG: AWS_SECRET_ACCESS_KEY = 'SET'
🔍 DEBUG: AWS_DEFAULT_REGION = 'us-west-2'
✅ S3 connectivity test passed for bucket: listenful-recordings-dev
🎵 Configuring S3 recording: bucket=listenful-recordings-dev, file=interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4
🎵 Starting recording request for room: listenful_interview_46_6ac8e41e
🎵 Using S3 storage: bucket=listenful-recordings-dev, file=interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4
🎵 Request details: audio_only=True, video_enabled=False, file_type=MP4
🔍 DEBUG: About to send request to egress service
🔍 DEBUG: Request object: room_name: "listenful_interview_46_6ac8e41e"
layout: "speaker"
audio_only: true
preset: H264_720P_30
file_outputs {
 file_type: MP4
 filepath: "interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4"
 s3 {
  access_key: "AKIAQMTZ2HS7TRYS5T7V"
  secret: "sy7sNUAexki7TzwZj+LDT5dIW0AmWmPUyTQ0a/Yh"
  region: "us-west-2"
  bucket: "listenful-recordings-dev"
 }
}

🎵 Recording started successfully: EG_AXiJ4gATVJ92 -> interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4
🎵 Recording info: egress_id: "EG_AXiJ4gATVJ92"
room_id: "RM_M98ZGdRNL2ti"
room_composite {
 room_name: "listenful_interview_46_6ac8e41e"
 layout: "speaker"
 audio_only: true
 preset: H264_720P_30
 file_outputs {
  file_type: MP4
  filepath: "interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4"
  s3 {
   access_key: "{access_key}"
   secret: "{secret}"
   region: "us-west-2"
   bucket: "listenful-recordings-dev"
  }
 }
}
file {
 filename: "interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4"
}
started_at: 1760371284954506251
room_name: "listenful_interview_46_6ac8e41e"
file_results {
 filename: "interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4"
}
updated_at: 1760371284954506251

🎵 Recording started successfully
🎯 Speaking introduction using generate_reply()
🎯 GENERATE_REPLY INPUT: 'Say exactly: Hi - I would like to talk to you about your productivity needs. Would that be ok?'
🔍 TEXT PIPELINE [GENERATE_REPLY_INPUT]: 'Say exactly: 'Hi - I would like to talk to you about your productivity needs. Would that be ok?''
🔍 TEXT ANALYSIS [GENERATE_REPLY_INPUT]:
 - Length: 97
 - Stripped length: 97
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b"Say exactly: 'Hi - I would like to talk to you about your productivity needs. Would that be ok?'"
 - Character codes: [83, 97, 121, 32, 101, 120, 97, 99, 116, 108, 121, 58, 32, 39, 72, 105, 32, 45, 32, 73]
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
🔄 TTS CHUNK: 'Hi' (length: 2)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'Hi'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 2
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Hi'
 - Character codes: [72, 105]
🔄 TTS ACCUMULATED: 'Hi' (length: 2)
📝 TTS processing: Hi...
🔄 TTS CHUNK: ' -' (length: 2)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' -'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 2
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b' -'
 - Character codes: [32, 45]
🔄 TTS ACCUMULATED: 'Hi -' (length: 4)
📝 TTS processing: Hi -...
🔄 TTS CHUNK: ' I' (length: 2)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' I'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 2
 - Stripped length: 1
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' I'
 - Character codes: [32, 73]
🔄 TTS ACCUMULATED: 'Hi - I' (length: 6)
📝 TTS processing: Hi - I...
🔄 TTS CHUNK: ' would' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' would'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' would'
 - Character codes: [32, 119, 111, 117, 108, 100]
🔄 TTS ACCUMULATED: 'Hi - I would' (length: 12)
📝 TTS processing: Hi - I would...
🔄 TTS CHUNK: ' like' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' like'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' like'
 - Character codes: [32, 108, 105, 107, 101]
🔄 TTS ACCUMULATED: 'Hi - I would like' (length: 17)
📝 TTS processing: Hi - I would like...
🔄 TTS CHUNK: ' to' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' to'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' to'
 - Character codes: [32, 116, 111]
🔄 TTS ACCUMULATED: 'Hi - I would like to' (length: 20)
📝 TTS processing: Hi - I would like to...
🔄 TTS CHUNK: ' talk' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' talk'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' talk'
 - Character codes: [32, 116, 97, 108, 107]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk' (length: 25)
📝 TTS processing: Hi - I would like to talk...
🔄 TTS CHUNK: ' to' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' to'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' to'
 - Character codes: [32, 116, 111]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to' (length: 28)
📝 TTS processing: Hi - I would like to talk to...
🔄 TTS CHUNK: ' you' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' you'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' you'
 - Character codes: [32, 121, 111, 117]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you' (length: 32)
📝 TTS processing: Hi - I would like to talk to you...
🔄 TTS CHUNK: ' about' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' about'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' about'
 - Character codes: [32, 97, 98, 111, 117, 116]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about' (length: 38)
📝 TTS processing: Hi - I would like to talk to you about...
🔄 TTS CHUNK: ' your' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' your'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' your'
 - Character codes: [32, 121, 111, 117, 114]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your' (length: 43)
📝 TTS processing: Hi - I would like to talk to you about your...
🔄 TTS CHUNK: ' productivity' (length: 13)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' productivity'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 13
 - Stripped length: 12
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' productivity'
 - Character codes: [32, 112, 114, 111, 100, 117, 99, 116, 105, 118, 105, 116, 121]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity' (length: 56)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: ' needs' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' needs'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' needs'
 - Character codes: [32, 110, 101, 101, 100, 115]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs' (length: 62)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: '.' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: '.'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b'.'
 - Character codes: [46]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs.' (length: 63)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: ' Would' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' Would'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' Would'
 - Character codes: [32, 87, 111, 117, 108, 100]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs. Would' (length: 69)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: ' that' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' that'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' that'
 - Character codes: [32, 116, 104, 97, 116]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs. Would that' (length: 74)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: ' be' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' be'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' be'
 - Character codes: [32, 98, 101]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs. Would that be' (length: 77)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: ' ok' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' ok'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' ok'
 - Character codes: [32, 111, 107]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs. Would that be ok' (length: 80)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🔄 TTS CHUNK: '?' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: '?'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b'?'
 - Character codes: [63]
🔄 TTS ACCUMULATED: 'Hi - I would like to talk to you about your productivity needs. Would that be ok?' (length: 81)
📝 TTS processing: Hi - I would like to talk to you about your produc...
🤖 LLM GENERATED RESPONSE:
🔍 TEXT PIPELINE [LLM_RESPONSE]: 'Hi - I would like to talk to you about your productivity needs. Would that be ok? '
🔍 TEXT ANALYSIS [LLM_RESPONSE]:
 - Length: 82
 - Stripped length: 81
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Hi - I would like to talk to you about your productivity needs. Would that be ok? '
 - Character codes: [72, 105, 32, 45, 32, 73, 32, 119, 111, 117, 108, 100, 32, 108, 105, 107, 101, 32, 116, 111]
🤖 LLM RAW BYTES: b'Hi - I would like to talk to you about your productivity needs. Would that be ok? '
🔍 DEBUG: Spoke introduction: 'Hi - I would like to talk to you about your productivity needs. Would that be ok?'
🔍 DEBUG: Marked introduction as spoken, pause/resume now enabled
{"message": "received user transcript", "level": "DEBUG", "name": "livekit.agents", "user_transcript": "Sure.", "language": "en", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:33.422784+00:00"}
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
💬 USER INPUT: Sure.
🔄 TTS CHUNK: 'Can' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'Can'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Can'
 - Character codes: [67, 97, 110]
🔄 TTS ACCUMULATED: 'Can' (length: 3)
📝 TTS processing: Can...
🔄 TTS CHUNK: ' you' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' you'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' you'
 - Character codes: [32, 121, 111, 117]
🔄 TTS ACCUMULATED: 'Can you' (length: 7)
📝 TTS processing: Can you...
🔄 TTS CHUNK: ' describe' (length: 9)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' describe'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 9
 - Stripped length: 8
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' describe'
 - Character codes: [32, 100, 101, 115, 99, 114, 105, 98, 101]
🔄 TTS ACCUMULATED: 'Can you describe' (length: 16)
📝 TTS processing: Can you describe...
🔄 TTS CHUNK: ' the' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' the'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' the'
 - Character codes: [32, 116, 104, 101]
🔄 TTS ACCUMULATED: 'Can you describe the' (length: 20)
📝 TTS processing: Can you describe the...
🔄 TTS CHUNK: ' tasks' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' tasks'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' tasks'
 - Character codes: [32, 116, 97, 115, 107, 115]
🔄 TTS ACCUMULATED: 'Can you describe the tasks' (length: 26)
📝 TTS processing: Can you describe the tasks...
🔄 TTS CHUNK: ' that' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' that'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' that'
 - Character codes: [32, 116, 104, 97, 116]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that' (length: 31)
📝 TTS processing: Can you describe the tasks that...
🔄 TTS CHUNK: ' consume' (length: 8)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' consume'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 8
 - Stripped length: 7
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' consume'
 - Character codes: [32, 99, 111, 110, 115, 117, 109, 101]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume' (length: 39)
📝 TTS processing: Can you describe the tasks that consume...
🔄 TTS CHUNK: ' the' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' the'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' the'
 - Character codes: [32, 116, 104, 101]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the' (length: 43)
📝 TTS processing: Can you describe the tasks that consume the...
🔄 TTS CHUNK: ' majority' (length: 9)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' majority'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 9
 - Stripped length: 8
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' majority'
 - Character codes: [32, 109, 97, 106, 111, 114, 105, 116, 121]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority' (length: 52)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' of' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' of'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' of'
 - Character codes: [32, 111, 102]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of' (length: 55)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' your' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' your'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' your'
 - Character codes: [32, 121, 111, 117, 114]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your' (length: 60)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' day' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' day'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' day'
 - Character codes: [32, 100, 97, 121]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day' (length: 64)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: '-to' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: '-to'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'-to'
 - Character codes: [45, 116, 111]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to' (length: 67)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: '-day' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: '-day'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'-day'
 - Character codes: [45, 100, 97, 121]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day' (length: 71)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' time' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' time'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' time'
 - Character codes: [32, 116, 105, 109, 101]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time' (length: 76)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ',' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: ','
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b','
 - Character codes: [44]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time,' (length: 77)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' especially' (length: 11)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' especially'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 11
 - Stripped length: 10
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' especially'
 - Character codes: [32, 101, 115, 112, 101, 99, 105, 97, 108, 108, 121]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially' (length: 88)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' those' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' those'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' those'
 - Character codes: [32, 116, 104, 111, 115, 101]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those' (length: 94)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' you' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' you'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' you'
 - Character codes: [32, 121, 111, 117]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you' (length: 98)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' find' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' find'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' find'
 - Character codes: [32, 102, 105, 110, 100]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find' (length: 103)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' repetitive' (length: 11)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' repetitive'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 11
 - Stripped length: 10
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' repetitive'
 - Character codes: [32, 114, 101, 112, 101, 116, 105, 116, 105, 118, 101]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive' (length: 114)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' or' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' or'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' or'
 - Character codes: [32, 111, 114]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or' (length: 117)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: ' time' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' time'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' time'
 - Character codes: [32, 116, 105, 109, 101]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time' (length: 122)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: '-consuming' (length: 10)
🔍 TEXT PIPELINE [TTS_CHUNK]: '-consuming'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 10
 - Stripped length: 10
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'-consuming'
 - Character codes: [45, 99, 111, 110, 115, 117, 109, 105, 110, 103]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming' (length: 132)
📝 TTS processing: Can you describe the tasks that consume the majori...
🔄 TTS CHUNK: '?' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: '?'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b'?'
 - Character codes: [63]
🔄 TTS ACCUMULATED: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming?' (length: 133)
📝 TTS processing: Can you describe the tasks that consume the majori...
🤖 LLM GENERATED RESPONSE:
🔍 TEXT PIPELINE [LLM_RESPONSE]: 'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming? '
🔍 TEXT ANALYSIS [LLM_RESPONSE]:
 - Length: 134
 - Stripped length: 133
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming? '
 - Character codes: [67, 97, 110, 32, 121, 111, 117, 32, 100, 101, 115, 99, 114, 105, 98, 101, 32, 116, 104, 101]
🤖 LLM RAW BYTES: b'Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming? '
{"message": "received user transcript", "level": "DEBUG", "name": "livekit.agents", "user_transcript": "Yeah. I mean, uh, it's", "language": "en", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:46.431333+00:00"}
{"message": "received user transcript", "level": "DEBUG", "name": "livekit.agents", "user_transcript": "about expense reports.", "language": "en", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:47.033577+00:00"}
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
💬 USER INPUT: Yeah. I mean, uh, it's about expense reports.
🔄 TTS CHUNK: 'How' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'How'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'How'
 - Character codes: [72, 111, 119]
🔄 TTS ACCUMULATED: 'How' (length: 3)
📝 TTS processing: How...
🔄 TTS CHUNK: ' open' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' open'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' open'
 - Character codes: [32, 111, 112, 101, 110]
🔄 TTS ACCUMULATED: 'How open' (length: 8)
📝 TTS processing: How open...
🔄 TTS CHUNK: ' would' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' would'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' would'
 - Character codes: [32, 119, 111, 117, 108, 100]
🔄 TTS ACCUMULATED: 'How open would' (length: 14)
📝 TTS processing: How open would...
🔄 TTS CHUNK: ' you' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' you'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' you'
 - Character codes: [32, 121, 111, 117]
🔄 TTS ACCUMULATED: 'How open would you' (length: 18)
📝 TTS processing: How open would you...
🔄 TTS CHUNK: ' be' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' be'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' be'
 - Character codes: [32, 98, 101]
🔄 TTS ACCUMULATED: 'How open would you be' (length: 21)
📝 TTS processing: How open would you be...
🔄 TTS CHUNK: ' to' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' to'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' to'
 - Character codes: [32, 116, 111]
🔄 TTS ACCUMULATED: 'How open would you be to' (length: 24)
📝 TTS processing: How open would you be to...
🔄 TTS CHUNK: ' integrating' (length: 12)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' integrating'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 12
 - Stripped length: 11
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' integrating'
 - Character codes: [32, 105, 110, 116, 101, 103, 114, 97, 116, 105, 110, 103]
🔄 TTS ACCUMULATED: 'How open would you be to integrating' (length: 36)
📝 TTS processing: How open would you be to integrating...
🔄 TTS CHUNK: ' an' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' an'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' an'
 - Character codes: [32, 97, 110]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an' (length: 39)
📝 TTS processing: How open would you be to integrating an...
🔄 TTS CHUNK: ' AI' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' AI'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' AI'
 - Character codes: [32, 65, 73]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI' (length: 42)
📝 TTS processing: How open would you be to integrating an AI...
🔄 TTS CHUNK: '-based' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: '-based'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 6
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'-based'
 - Character codes: [45, 98, 97, 115, 101, 100]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based' (length: 48)
📝 TTS processing: How open would you be to integrating an AI-based...
🔄 TTS CHUNK: ' tool' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' tool'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' tool'
 - Character codes: [32, 116, 111, 111, 108]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool' (length: 53)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' like' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' like'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' like'
 - Character codes: [32, 108, 105, 107, 101]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like' (length: 58)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' Track' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' Track'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' Track'
 - Character codes: [32, 84, 114, 97, 99, 107]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Track' (length: 64)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: 'y' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'y'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'y'
 - Character codes: [121]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky' (length: 65)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' to' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' to'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 2
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' to'
 - Character codes: [32, 116, 111]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to' (length: 68)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' help' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' help'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' help'
 - Character codes: [32, 104, 101, 108, 112]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help' (length: 73)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' manage' (length: 7)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' manage'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 7
 - Stripped length: 6
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' manage'
 - Character codes: [32, 109, 97, 110, 97, 103, 101]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help manage' (length: 80)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' tasks' (length: 6)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' tasks'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 6
 - Stripped length: 5
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' tasks'
 - Character codes: [32, 116, 97, 115, 107, 115]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help manage tasks' (length: 86)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' like' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' like'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' like'
 - Character codes: [32, 108, 105, 107, 101]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like' (length: 91)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' expense' (length: 8)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' expense'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 8
 - Stripped length: 7
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' expense'
 - Character codes: [32, 101, 120, 112, 101, 110, 115, 101]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense' (length: 99)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: ' reports' (length: 8)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' reports'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 8
 - Stripped length: 7
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' reports'
 - Character codes: [32, 114, 101, 112, 111, 114, 116, 115]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense reports' (length: 107)
📝 TTS processing: How open would you be to integrating an AI-based t...
🔄 TTS CHUNK: '?' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: '?'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b'?'
 - Character codes: [63]
🔄 TTS ACCUMULATED: 'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense reports?' (length: 108)
📝 TTS processing: How open would you be to integrating an AI-based t...
🤖 LLM GENERATED RESPONSE:
🔍 TEXT PIPELINE [LLM_RESPONSE]: 'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense reports? '
🔍 TEXT ANALYSIS [LLM_RESPONSE]:
 - Length: 109
 - Stripped length: 108
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense reports? '
 - Character codes: [72, 111, 119, 32, 111, 112, 101, 110, 32, 119, 111, 117, 108, 100, 32, 121, 111, 117, 32, 98]
🤖 LLM RAW BYTES: b'How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense reports? '
{"message": "received user transcript", "level": "DEBUG", "name": "livekit.agents", "user_transcript": "I'd be open to trying that.", "language": "en", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:01:59.132613+00:00"}
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
💬 USER INPUT: I'd be open to trying that.
🔄 TTS CHUNK: 'Have' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'Have'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Have'
 - Character codes: [72, 97, 118, 101]
🔄 TTS ACCUMULATED: 'Have' (length: 4)
📝 TTS processing: Have...
🔄 TTS CHUNK: ' you' (length: 4)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' you'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 4
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' you'
 - Character codes: [32, 121, 111, 117]
🔄 TTS ACCUMULATED: 'Have you' (length: 8)
📝 TTS processing: Have you...
🔄 TTS CHUNK: ' ever' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' ever'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' ever'
 - Character codes: [32, 101, 118, 101, 114]
🔄 TTS ACCUMULATED: 'Have you ever' (length: 13)
📝 TTS processing: Have you ever...
🔄 TTS CHUNK: ' used' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' used'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' used'
 - Character codes: [32, 117, 115, 101, 100]
🔄 TTS ACCUMULATED: 'Have you ever used' (length: 18)
📝 TTS processing: Have you ever used...
🔄 TTS CHUNK: ' Chat' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' Chat'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' Chat'
 - Character codes: [32, 67, 104, 97, 116]
🔄 TTS ACCUMULATED: 'Have you ever used Chat' (length: 23)
📝 TTS processing: Have you ever used Chat...
🔄 TTS CHUNK: 'GPT' (length: 3)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'GPT'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 3
 - Stripped length: 3
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'GPT'
 - Character codes: [71, 80, 84]
🔄 TTS ACCUMULATED: 'Have you ever used ChatGPT' (length: 26)
📝 TTS processing: Have you ever used ChatGPT...
🔄 TTS CHUNK: ',' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: ','
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b','
 - Character codes: [44]
🔄 TTS ACCUMULATED: 'Have you ever used ChatGPT,' (length: 27)
📝 TTS processing: Have you ever used ChatGPT,...
🔄 TTS CHUNK: ' dude' (length: 5)
🔍 TEXT PIPELINE [TTS_CHUNK]: ' dude'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 5
 - Stripped length: 4
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b' dude'
 - Character codes: [32, 100, 117, 100, 101]
🔄 TTS ACCUMULATED: 'Have you ever used ChatGPT, dude' (length: 32)
📝 TTS processing: Have you ever used ChatGPT, dude...
🔄 TTS CHUNK: '?' (length: 1)
🔍 TEXT PIPELINE [TTS_CHUNK]: '?'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 1
 - Stripped length: 1
 - Has alphanumeric: False
 - Is only punctuation: True
 - Raw bytes: b'?'
 - Character codes: [63]
🔄 TTS ACCUMULATED: 'Have you ever used ChatGPT, dude?' (length: 33)
📝 TTS processing: Have you ever used ChatGPT, dude?...
🤖 LLM GENERATED RESPONSE:
🔍 TEXT PIPELINE [LLM_RESPONSE]: 'Have you ever used ChatGPT, dude? '
🔍 TEXT ANALYSIS [LLM_RESPONSE]:
 - Length: 34
 - Stripped length: 33
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Have you ever used ChatGPT, dude? '
 - Character codes: [72, 97, 118, 101, 32, 121, 111, 117, 32, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 67]
🤖 LLM RAW BYTES: b'Have you ever used ChatGPT, dude? '
{"message": "received user transcript", "level": "DEBUG", "name": "livekit.agents", "user_transcript": "No.", "language": "en", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:07.783702+00:00"}
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
💬 USER INPUT: No.
🎯 AGENT CALLED END_INTERVIEW FUNCTION - ENDING SESSION
🎯 Conversation ID for database operations: 1653
{"message": "executing tool", "level": "DEBUG", "name": "livekit.agents", "function": "end_interview", "arguments": "{}", "speech_id": "speech_417fac042f7b", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:11.108949+00:00"}
🔍 session.say() called with: 'Thank You for Your Insights Today' (length: 33)
🔍 TEXT PIPELINE [SESSION_SAY_INPUT]: 'Thank You for Your Insights Today'
🔍 TEXT ANALYSIS [SESSION_SAY_INPUT]:
 - Length: 33
 - Stripped length: 33
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Thank You for Your Insights Today'
 - Character codes: [84, 104, 97, 110, 107, 32, 89, 111, 117, 32, 102, 111, 114, 32, 89, 111, 117, 114, 32, 73]
📝 Storing speech text: Thank You for Your Insights Today...
🎤 SENDING TO CARTESIA TTS:
🎤 CARTESIA INPUT TEXT: 'Thank You for Your Insights Today'
🎤 CARTESIA INPUT LENGTH: 33
🎤 CARTESIA INPUT BYTES: b'Thank You for Your Insights Today'
🎤 CARTESIA INPUT CHARACTERS: [84, 104, 97, 110, 107, 32, 89, 111, 117, 32, 102, 111, 114, 32, 89, 111, 117, 114, 32, 73, 110, 115, 105, 103, 104, 116, 115, 32, 84, 111, 100, 97, 121]
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
🔄 TTS CHUNK: 'Thank You for Your Insights Today' (length: 33)
🔍 TEXT PIPELINE [TTS_CHUNK]: 'Thank You for Your Insights Today'
🔍 TEXT ANALYSIS [TTS_CHUNK]:
 - Length: 33
 - Stripped length: 33
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Thank You for Your Insights Today'
 - Character codes: [84, 104, 97, 110, 107, 32, 89, 111, 117, 32, 102, 111, 114, 32, 89, 111, 117, 114, 32, 73]
🔄 TTS ACCUMULATED: 'Thank You for Your Insights Today' (length: 33)
📝 TTS processing: Thank You for Your Insights Today...
🤖 LLM GENERATED RESPONSE:
🔍 TEXT PIPELINE [LLM_RESPONSE]: 'Thank You for Your Insights Today '
🔍 TEXT ANALYSIS [LLM_RESPONSE]:
 - Length: 34
 - Stripped length: 33
 - Has alphanumeric: True
 - Is only punctuation: False
 - Raw bytes: b'Thank You for Your Insights Today '
 - Character codes: [84, 104, 97, 110, 107, 32, 89, 111, 117, 32, 102, 111, 114, 32, 89, 111, 117, 114, 32, 73]
🤖 LLM RAW BYTES: b'Thank You for Your Insights Today '
📤 About to send interview_concluded data message to frontend
📤 Sent interview_concluded data message to frontend
⏳ Waiting for frontend to process interview conclusion...
🎵 Recording stopped: EG_AXiJ4gATVJ92
🎵 Updated RecipientSend.link_to_recording: https://listenful-recordings-dev.s3.amazonaws.com/interview_listenful_interview_46_6ac8e41e_20251013_090124.mp4
================================================================================
🎯 COMPLETE INTERVIEW TRANSCRIPT
================================================================================
Room: listenful_interview_46_6ac8e41e
1. ASSISTANT: Hi - I would like to talk to you about your productivity needs. Would that be ok? 
2. USER: Sure.
3. ASSISTANT: Can you describe the tasks that consume the majority of your day-to-day time, especially those you find repetitive or time-consuming? 
4. USER: Yeah. I mean, uh, it's about expense reports.
5. ASSISTANT: How open would you be to integrating an AI-based tool like Tracky to help manage tasks like expense reports? 
6. USER: I'd be open to trying that.
7. ASSISTANT: Have you ever used ChatGPT, dude? 
8. USER: No.
9. ASSISTANT: Thank You for Your Insights Today 
================================================================================
💾 Saved transcript to RecipientSend for conversation 1653
💾 Updated conversation 1653 status to completed
{"message": "tools execution completed", "level": "DEBUG", "name": "livekit.agents", "speech_id": "speech_417fac042f7b", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.807109+00:00"}
🔄 TTS NODE START: Processing text stream
🔄 TTS NODE FINAL TEXT: ''
🔍 TEXT PIPELINE [TTS_NODE_FINAL]: ''
🔍 TEXT ANALYSIS [TTS_NODE_FINAL]:
 - Length: 0
 - Stripped length: 0
 - Has alphanumeric: False
 - Is only punctuation: False
 - Raw bytes: b''
 - Character codes: []
🔌 Participant disconnected: user_789320af
{"message": "closing agent session due to participant disconnect (disable via `RoomInputOptions.close_on_disconnect=False`)", "level": "INFO", "name": "livekit.agents", "participant": "user_789320af", "reason": "CLIENT_INITIATED", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.933797+00:00"}
💾 Updated conversation 1653 status to disconnected
{"message": "stream closed", "level": "DEBUG", "name": "livekit.agents", "participant": "user_789320af", "source": "SOURCE_MICROPHONE", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.942362+00:00"}
🎯 SESSION DRAINED - DELETING ROOM
{"message": "session closed", "level": "DEBUG", "name": "livekit.agents", "reason": "participant_disconnected", "error": null, "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.950284+00:00"}
🎯 ROOM DELETED SUCCESSFULLY
{"message": "process exiting", "level": "INFO", "name": "livekit.agents", "reason": "", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.955013+00:00"}
{"message": "shutting down job task", "level": "DEBUG", "name": "livekit.agents", "reason": "", "user_initiated": false, "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.953992+00:00"}
🔍 DEBUG: Connection state changed to: 0
🔍 DEBUG: Room disconnected event fired: 5
🎵 LiveKit API client closed
{"message": "http_session(): closing the httpclient ctx", "level": "DEBUG", "name": "livekit.agents", "pid": 53477, "job_id": "AJ_djVFeshrWoCS", "timestamp": "2025-10-13T16:02:16.956688+00:00"}