hi iam getting this error while running a vaoice p...
# ask-ai
s
hi iam getting this error while running a vaoice pipelineagent: capabilities=LLMCapabilities( TypeError: LLMCapabilities.__init__() got an unexpected keyword argument 'requires_persistent_functions' 2025-02-25 144401,350 - ERROR main - Error initializing VoiceAssistant: LLMCapabilities.__init__() got an unexpected keyword argument 'requires_persistent_functions'
g
The error you're encountering suggests that the
LLMCapabilities
class does not accept a keyword argument named
requires_persistent_functions
. This could be due to a mismatch between the version of the LiveKit library you are using and the code you are trying to run. To resolve this issue, ensure that you are using the correct version of the LiveKit library that supports the
requires_persistent_functions
argument. You can check the LiveKit documentation or update your LiveKit packages to the latest version to ensure compatibility. Would you like more detailed guidance on updating your LiveKit packages or checking the documentation for the correct usage of
LLMCapabilities
? Sources: - LiveKit documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
s
can you brief it