is there a way to disable the interactive confirma...
# ask-ai
a
is there a way to disable the interactive confirmation prompt when using LiveKit Cloud Agents Beta
t
Thanks for reaching out, Anne. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To disable interactive confirmation prompts when using LiveKit Cloud Agents Beta, you can use the
--silent
flag with the LiveKit CLI agent commands. This flag ensures that the system will not prompt for confirmation during certain operations. For example, when creating a new agent, you can use:
Copy code
lk agent create --silent
This will skip interactive prompts, such as the confirmation for viewing logs after deployment. Note that the
--silent
flag is specifically implemented for certain commands like
create
. If you are looking to disable prompts for other operations (e.g., delete, update, rollback), please let me know so I can assist further. Sources: cmd/lk/cloud.go
a
I would like to disable prompts such as
Use project [X] with subdomain [X] to create agent?
is there a way to do that or what is the best channel to ask a human about LiveKit Cloud Agents Beta
t
Hey there! I totally get how those confirmation prompts can be a bit annoying when you're trying to create LiveKit Cloud Agents quickly. Good news – I've got a couple of super simple ways to skip that "Use project [X] with subdomain [X]" prompt. Here's a friendly tip: you can just use the project or subdomain flags to breeze right past that confirmation. Check out these quick examples:
Copy code
lk agent create --project YOUR_PROJECT_NAME [working-dir]
Or if you prefer, you can use the subdomain flag instead:
Copy code
lk agent create --subdomain YOUR_SUBDOMAIN [working-dir]
Pro move: The
--silent
flag is also awesome for suppressing other confirmation prompts during agent creation. Need any more help or have questions about LiveKit Cloud Agents Beta? I'm right here and happy to help – just give me a shout! Sources: cmd/lk/project.go