limited-vr-84328
07/06/2025, 9:44 PMdownload-files
mode of the livekit agents CLI knows what models to download? is it looking at what’s imported in the code that’s being run, or at the whole list of dependencies in the project regardless of what’s imported?tall-airline-16756
07/06/2025, 9:44 PMtall-airline-16756
07/06/2025, 9:44 PMdownload-files
mode of the LiveKit agents CLI determines which models to download by iterating through all registered plugins and invoking each plugin's download_files()
method. Each plugin explicitly defines the files it needs to download, such as specific model files or dependencies. The CLI does not analyze the imports in your code or the entire list of project dependencies automatically; it relies on the plugins' predefined logic to specify the required files.
Sources: GitHub::livekit::agents | livekit-plugins/livekit-plugins-baseten/livekit/p...limited-vr-84328
07/06/2025, 9:45 PMtall-airline-16756
07/06/2025, 9:45 PMregister_plugin
class method with an instance of your plugin.
Think of plugin registration like introducing a new team member to your work group. You'll want to do this on the main thread (if you try from another thread, you'll get an error). Once registered, your plugin joins the registered_plugins list, and the system gives a little "plugin_registered" shout-out to celebrate! It's a straightforward process that helps keep everything organized and running smoothly. Sources: GitHub::livekit::agents | livekit-agents/livekit/agents/plugin.pylimited-vr-84328
07/06/2025, 9:46 PMregister_plugin
? is it when they’re imported?tall-airline-16756
07/06/2025, 9:46 PM