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 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- computer_sandbox = ...
15+ from google . adk . tools . mcp_tool . mcp_toolset import MCPToolset
1616
17+ from veadk .config import getenv
18+ from veadk .utils .mcp_utils import get_mcp_params
1719
18- def computer_use (prompt : str ) -> str :
19- """Using the remote computer sandbox to according to the prompt.
20+ url = getenv ("TOOL_COMPUTER_SANDBOX_URL" )
2021
21- Args:
22- prompt (str): The prompt to be used.
2322
24- Returns:
25- str: The response from the sandbox.
26- """
27- ...
23+ computer_sandbox = MCPToolset (connection_params = get_mcp_params (url = url ))
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