autool/config.example.yaml
2026-06-17 19:44:18 +08:00

97 lines
2.8 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 配置文件示例(脱敏模板)
# 使用方式:将此文件复制为 config.yaml 并根据实际环境填写配置项
# 敏感信息使用环境变量引用,格式:${ENV_VAR_NAME}
# 环境标识
environment:
name: prod # 或 test
# 输出和设备配置
output:
base_dir: ./output
device:
is_emulator: true
physical_ip: ""
physical_adb_port: 5555
physical_serial: ""
airtest_adb_host: "127.0.0.1:5037"
# 应用配置
app:
keep_app: true
# 策略配置
policy:
name: memory_guided
enable_guiagent: true
cv_mode: false
# 超时配置
execution:
timeout: 1000
block_timeout: 1000
# 模型配置
model:
current_name: ""
# 日志配置
logging:
level: INFO
# Redis 控制配置
redis:
host: 127.0.0.1 # Redis 服务器地址(请根据实际环境修改)
port: 6379
db: 0
channel_namespace: main
# 共享路径配置(可选,用于内部团队协作)
shared_paths:
traffic_data: "" # 网络流量数据目录(可选)
traversal_log: "" # 遍历日志目录(可选)
clean_backup: "" # MuMu 模拟器备份文件(可选)
local_apk: "" # 本地 APK 存储目录(可选)
apkpure_apk: "" # APKPure 应用路径(可选)
app_block_app_list: "" # 应用阻断列表(可选)
app_block_url_lib: "" # URL 阻断库(可选)
# Git 配置(可选)
git:
repo_url: ""
# 通知配置(使用环境变量引用敏感信息)
# 格式WECHAT_TOKEN_<NAME> 或 WECOM_TOKEN_<NAME>
notifications:
wechat: {}
wecom: {}
# MuMu 模拟器配置
mumu:
manager_path: "C:\\Program Files\\Netease\\MuMu\\nx_main\\MuMuManager.exe" # MuMuManager.exe 安装路径,请确认实际路径
local_import_dir: "D:\\mumu_backups" # 镜像备份文件存放目录
default_vm_index: 2 # 默认虚拟机编号
max_vm_index: 10 # 最大虚拟机编号
clean_backup: "" # MuMu 镜像备份文件路径(可选,如 D:\mumu_backups\taskagent.mumudata
# 网络配置
network:
bridge_card: "Realtek PCIe GbE Family Controller" # MuMu 桥接网卡名称,通过 wmic nic where NetConnectionStatus=2 get Name 查询
# LLM API 配置(必需)
# GuiAgent 通过 OpenAI 兼容的 /v1/chat/completions 端点调用大模型
# 可配置两种模式:
# A. 中转模式key_pool_url 指向自建 KeyPool 中转服务(推荐,统一管理多平台 API Key
# B. 直连模式:直接配置各云平台的 API 端点LLM 请求直接发送到对应平台
llm_api:
# KeyPool 中转服务配置
key_pool_url: "" # 中转服务地址,如 "http://your-server:8888"
key_pool_api_key: "" # 中转服务的访问密钥(为空则不发送认证头, keypool 默认不需要认证头)
current_model_name: "" # 模型名称,留空时由 KeyPool 随机分配模型
# GUI Agent 配置
gui_agent:
email_verification_enabled: false
log_dir: ./output