mirror of
https://github.com/trycua/computer.git
synced 2025-12-31 10:29:59 -06:00
Rename to sandbox
This commit is contained in:
@@ -153,7 +153,7 @@ from computer import Computer
|
||||
async with Computer(
|
||||
os_type="linux",
|
||||
provider_type="cloud",
|
||||
name="your-container-name",
|
||||
name="your-sandbox-name",
|
||||
api_key="your-api-key"
|
||||
) as computer:
|
||||
# Take screenshot
|
||||
|
||||
@@ -23,7 +23,7 @@ async def take_screenshot():
|
||||
async with Computer(
|
||||
os_type="linux",
|
||||
provider_type="cloud",
|
||||
name="your-container-name",
|
||||
name="your-sandbox-name",
|
||||
api_key="your-api-key"
|
||||
) as computer:
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ This is a Cloud Sandbox running the Computer Server. Get a container at [trycua.
|
||||
computer = Computer(
|
||||
os_type="linux",
|
||||
provider_type="cloud",
|
||||
name="your-container-name",
|
||||
name="your-sandbox-name",
|
||||
api_key="your-api-key"
|
||||
)
|
||||
|
||||
@@ -37,7 +37,7 @@ This is a Cloud Sandbox running the Computer Server. Get a container at [trycua.
|
||||
|
||||
const computer = new Computer({
|
||||
osType: OSType.LINUX,
|
||||
name: "your-container-name",
|
||||
name: "your-sandbox-name",
|
||||
apiKey: "your-api-key"
|
||||
});
|
||||
|
||||
|
||||
@@ -312,7 +312,7 @@ python -m agent.cli omniparser+ollama_chat/llama3.2:latest
|
||||
|
||||
If you haven't set up environment variables, the CLI will guide you through the setup:
|
||||
|
||||
1. **Container Name**: Enter your cua container name (or get one at [trycua.com](https://www.trycua.com/))
|
||||
1. **Sandbox Name**: Enter your cua sandbox name (or get one at [trycua.com](https://www.trycua.com/))
|
||||
2. **CUA API Key**: Enter your cua API key
|
||||
3. **Provider API Key**: Enter your AI provider API key (OpenAI, Anthropic, etc.)
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ Connect to your Cua computer and perform basic interactions, such as taking scre
|
||||
computer = Computer(
|
||||
os_type="linux",
|
||||
provider_type="cloud",
|
||||
name="your-container-name",
|
||||
name="your-sandbox-name",
|
||||
api_key="your-api-key"
|
||||
)
|
||||
await computer.run() # Connect to the sandbox
|
||||
@@ -189,7 +189,7 @@ Connect to your Cua computer and perform basic interactions, such as taking scre
|
||||
|
||||
const computer = new Computer({
|
||||
osType: OSType.LINUX,
|
||||
name: "your-container-name",
|
||||
name: "your-sandbox-name",
|
||||
apiKey: "your-api-key"
|
||||
});
|
||||
await computer.run(); // Connect to the sandbox
|
||||
|
||||
Reference in New Issue
Block a user