few-oxygen-16360
11/13/2025, 4:51 PMfamous-finland-27043
11/13/2025, 5:43 PMif __name__ == "__main__":
agents.cli.run_app(
agents.WorkerOptions(entrypoint_fnc=entrypoint, agent_name="interview-agent")
)
Here is what i tried:
• passing the agent dispatch config conditionally as part of the token -- agent was still joining the room.
• avoiding calling ctx.connect (I noticed thats when the agent joins) -- did not work.
My current fix:
• Mute the agent and hide its tile in the GridLayout component --not ideal for sure.
What is the best way to conditionally choose if the agent should join? Thanks :)billions-book-73023
11/13/2025, 6:09 PMhandsome-nest-90659
11/13/2025, 6:53 PMbumpy-quill-11391
11/13/2025, 8:57 PMsteep-balloon-41261
11/13/2025, 9:42 PMadventurous-waiter-12836
11/14/2025, 12:20 AMnutritious-oyster-4341
11/14/2025, 2:54 AMloud-battery-93295
11/14/2025, 5:57 AMfaint-afternoon-93060
11/14/2025, 5:59 AMstrong-furniture-4150
11/14/2025, 6:13 AMloud-battery-93295
11/14/2025, 6:15 AMfancy-motherboard-28624
11/14/2025, 6:40 AMcrooked-action-53836
11/14/2025, 7:44 AMechoing-lunch-36548
11/14/2025, 7:55 AMrough-butcher-91877
11/14/2025, 10:17 AMechoing-photographer-35589
11/14/2025, 11:54 AMbetter-house-57730
11/14/2025, 12:58 PMlively-minister-89835
11/14/2025, 1:11 PM{
"name": "end_call",
"arguments": {}
}/tool_call
This is my end_call tool:
@function_tool()
async def end_call(context: RunContext) -> dict:
"""
Ends the call after user signals goodbye or task completion or
the user is not interested in the conversation.
"""
await context.session.generate_reply(
instructions="Close the call politely based on the conversation history" # noqa: E501
)
# Wait for any current speech to complete
current = context.session.current_speech
if current:
await current.wait_for_playout()
# Delete the LiveKit room to hang up for everyone
job_ctx = get_job_context()
# Stop active egress jobs
request = ListEgressRequest(room_name=job_ctx.job.room.name, active=True)
active = await job_ctx.api.egress.list_egress(request)
for e in active.items:
await job_ctx.api.egress.stop_egress(
StopEgressRequest(egress_id=e.egress_id)
)
await job_ctx.api.room.delete_room(
DeleteRoomRequest(room=job_ctx.room.name)
)
return {"ended": True}full-guitar-90150
11/14/2025, 3:25 PMable-butcher-80092
11/14/2025, 4:01 PMunable to deploy agent: secret name contains invalid characters, only uppercase and lowercase letters, numerals, hyphens, and underscores are allowed
My file is google_credentials.json and I'm trying with lk agent deploy --secret-mount ./google_credentials.json am I doing something wrong? I've tried with =, ' and so on, to no availhappy-mouse-590
11/15/2025, 12:27 AMnutritious-oyster-4341
11/15/2025, 12:45 AMnutritious-oyster-4341
11/15/2025, 12:45 AMbig-application-86058
11/15/2025, 5:40 AMbig-application-86058
11/15/2025, 5:44 AMproud-magician-4503
11/15/2025, 9:05 AMpowerful-activity-81417
11/15/2025, 10:41 AMgpt-4o-transcribe-diarize model?magnificent-nail-24287
11/15/2025, 2:21 PMsquare-waiter-62432
11/15/2025, 2:51 PM