File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14+ from google .adk .tools .mcp_tool .mcp_toolset import MCPToolset
1415
15- computer_sandbox = ...
16+ from veadk .config import getenv
17+ from veadk .utils .mcp_utils import get_mcp_params
1618
19+ url = getenv ("TOOL_COMPUTER_SANDBOX_URL" )
1720
18- def computer_use (prompt : str ) -> str :
19- """Using the remote computer sandbox to according to the prompt.
2021
21- Args:
22- prompt (str): The prompt to be used.
22+ computer_sandbox = MCPToolset (connection_params = get_mcp_params (url = url ))
2323
24- Returns:
25- str: The response from the sandbox.
26- """
27- ...
24+
25+ # def computer_use(prompt: str) -> str:
26+ # """Using the remote computer sandbox to according to the prompt.
27+
28+ # Args:
29+ # prompt (str): The prompt to be used.
30+
31+ # Returns:
32+ # str: The response from the sandbox.
33+ # """
34+ # ...
You can’t perform that action at this time.
0 commit comments