Skip to content

Commit 4eb3834

Browse files
authored
feat(agentrun_deploy): implement agentrun developer (#187)
Change-Id: Ifc83ec312618ffb5a908c9aebaa0b7fff8efa6ce ## Description [Describe what this PR does and why] **Related Issue:** Fixes #[issue_number] or Relates to #[issue_number] **Security Considerations:** [If applicable, especially for sandbox changes] ## Type of Change - [ ] Bug fix - New feature - [ ] Breaking change - [ ] Documentation - [ ] Refactoring ## Component(s) Affected - Engine - [ ] Sandbox - [ ] Documentation - [ ] Tests - [ ] CI/CD ## Checklist - Pre-commit hooks pass - [ ] Tests pass locally - [ ] Documentation updated (if needed) - [ ] Ready for review ## Testing [How to test these changes] ## Additional Notes [Optional: any other context]
1 parent d956ddb commit 4eb3834

12 files changed

Lines changed: 4661 additions & 1 deletion

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# ============================================
2+
# AgentRun Configuration Environment Variables
3+
# ============================================
4+
5+
# Required: Alibaba Cloud Credentials
6+
ALIBABA_CLOUD_ACCESS_KEY_ID=your_access_key_id_here
7+
ALIBABA_CLOUD_ACCESS_KEY_SECRET=your_access_key_secret_here
8+
9+
# Region Configuration (default: cn-hangzhou)
10+
AGENT_RUN_REGION_ID=cn-hangzhou
11+
12+
# Endpoint Configuration (default: agentrun.{region_id}.aliyuncs.com)
13+
# AGENT_RUN_ENDPOINT=agentrun.cn-hangzhou.aliyuncs.com
14+
15+
# ============================================
16+
# Log Configuration (optional)
17+
# ============================================
18+
# If both log_store and log_project are provided, log_config will be created
19+
# AGENT_RUN_LOG_STORE=your_log_store_name
20+
# AGENT_RUN_LOG_PROJECT=your_log_project_name
21+
22+
# ============================================
23+
# Network Configuration
24+
# ============================================
25+
# Network mode: PUBLIC/PRIVATE/PUBLIC_AND_PRIVATE (default: PUBLIC)
26+
AGENT_RUN_NETWORK_MODE=PUBLIC
27+
28+
# VPC Configuration (required if network_mode is VPC)
29+
# AGENT_RUN_VPC_ID=vpc-xxxxxx
30+
# AGENT_RUN_SECURITY_GROUP_ID=sg-xxxxxx
31+
# AGENT_RUN_VSWITCH_IDS=["vsw-xxxxxx", "vsw-yyyyyy"]
32+
33+
# ============================================
34+
# Resource Configuration
35+
# ============================================
36+
# CPU allocation in cores (default: 2.0)
37+
AGENT_RUN_CPU=2.0
38+
39+
# Memory allocation in MB (default: 2048)
40+
AGENT_RUN_MEMORY=2048
41+
42+
# ============================================
43+
# Execution Configuration
44+
# ============================================
45+
# Execution role ARN (optional)
46+
# AGENT_RUN_EXECUTION_ROLE_ARN=acs:ram::xxxxx:role/your-role-name
47+
48+
# Session concurrency limit (default: 1)
49+
AGENT_RUN_SESSION_CONCURRENCY_LIMIT=1
50+
51+
# Session idle timeout in seconds (default: 600)
52+
AGENT_RUN_SESSION_IDLE_TIMEOUT_SECONDS=600

0 commit comments

Comments
 (0)