how can i use user_away_timeout i got No parameter...
# server-api
n
how can i use user_away_timeout i got No parameter named "user_away_timeout"basedpyrightreportCallIssue Ctrl+click to open in new tab (function) user_away_timeout: Unknown
l
hi! kindly please don't post the same question in multiple channels 🙏 i am not sure i understand the question, could you provide a bit more details?
✅ 1
n
Apologies for posting this question across multiple channels — I wanted to make sure it reaches the right audience. I'm trying to use the
user_away_timeout
parameter in the
AgentSession
class, as documented here: https://docs.livekit.io/reference/python/v1/livekit/agents/ However, when I attempt to set this parameter in my Python code, I receive the following error:
TypeError: __init__() got an unexpected keyword argument 'user_away_timeout'
I'm currently using
livekit-agents~=1.0rc
. Is this parameter available in this version, or is it possibly only present in a later release or still under development?
t
This is a very old version, please update to the latest version
n
i update it to Version: 1.1.7 and still i cant find
user_away_timeout
this is how i imports the AgentSession from livekit.agents import Agent, AgentSession
l
Here is an example
🙌 1
n
thank you very much