File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -718,10 +718,6 @@ def memories(self) -> Any:
718718 return self ._memories .Memories (self ._api_client )
719719
720720 @property
721- @_common .experimental_warning (
722- "The Vertex SDK GenAI agent_engines.sandboxes module is experimental, "
723- "and may change in future versions."
724- )
725721 def sandboxes (self ) -> Any :
726722 if self ._sandboxes is None :
727723 try :
Original file line number Diff line number Diff line change @@ -557,6 +557,17 @@ def create(
557557 Returns:
558558 AgentEngineSandboxOperation: The operation for creating the sandbox.
559559 """
560+ if spec :
561+ computer_use = False
562+ if isinstance (spec , dict ):
563+ computer_use = spec .get ("computer_use_environment" ) is not None
564+ elif hasattr (spec , "computer_use_environment" ):
565+ computer_use = True
566+
567+ if computer_use :
568+ logging .warning (
569+ "The computer_use_environment feature in the sandboxes module is experimental and may change in future versions."
570+ )
560571 operation = self ._create (
561572 name = name ,
562573 spec = spec ,
You can’t perform that action at this time.
0 commit comments