@@ -171,6 +171,8 @@ def _ensure_agent_engine_dependency(requirements_txt_path: str) -> None:
171171 'user_id' : {'type' : 'string' },
172172 'session_id' : {'type' : 'string' , 'nullable' : True },
173173 'state' : {'type' : 'object' , 'nullable' : True },
174+ 'ttl' : {'type' : 'string' , 'nullable' : True },
175+ 'expire_time' : {'type' : 'string' , 'nullable' : True },
174176 },
175177 'required' : ['user_id' ],
176178 'type' : 'object' ,
@@ -239,19 +241,24 @@ def _ensure_agent_engine_dependency(requirements_txt_path: str) -> None:
239241 'Creates a new session.\n \n Args:\n user_id'
240242 ' (str):\n Required. The ID of the user.\n '
241243 ' session_id (str):\n Optional. The ID of the'
242- ' session. If not provided, an ID\n will be be '
244+ ' session. If not provided, an ID\n will be'
243245 ' generated for the session.\n state (dict[str, Any]):\n '
244246 ' Optional. The initial state of the session.\n '
245- ' **kwargs (dict[str, Any]):\n Optional.'
246- ' Additional keyword arguments to pass to the\n '
247- ' session service.\n \n Returns:\n Session: The'
248- ' newly created session instance.\n '
247+ ' ttl (str):\n Optional. The time-to-live for'
248+ ' the session.\n expire_time (str):\n '
249+ ' Optional. The expiration time for the session.\n '
250+ ' **kwargs (dict[str, Any]):\n Optional. Additional'
251+ ' keyword arguments to pass to the\n session'
252+ ' service.\n \n Returns:\n Session: The newly'
253+ ' created session instance.\n '
249254 ),
250255 'parameters' : {
251256 'properties' : {
252257 'user_id' : {'type' : 'string' },
253258 'session_id' : {'type' : 'string' , 'nullable' : True },
254259 'state' : {'type' : 'object' , 'nullable' : True },
260+ 'ttl' : {'type' : 'string' , 'nullable' : True },
261+ 'expire_time' : {'type' : 'string' , 'nullable' : True },
255262 },
256263 'required' : ['user_id' ],
257264 'type' : 'object' ,
0 commit comments