29 lines
493 B
Markdown
29 lines
493 B
Markdown
# 元宝全自动代理
|
|||
|
|
|
||
|
|
## 安装(conda 版本)
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# 创建 conda 环境
|
||
|
|
conda create -n yuanbao-agent python=3.12 -y
|
||
|
|
|
||
|
|
# 激活环境
|
||
|
|
conda activate yuanbao-agent
|
||
|
|
|
||
|
|
# 安装 playwright(包含浏览器)
|
||
|
|
pip install playwright
|
||
|
|
python -m playwright install chrome
|
||
|
|
```
|
||
|
|
|
||
|
|
## 运行
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# 确保在 yuanbao-agent 环境中
|
||
|
|
conda activate yuanbao-agent
|
||
|
|
|
||
|
|
# 运行 MVP v1(显式指令)
|
||
|
|
python yuanbao_agent_mvp.py
|
||
|
|
|
||
|
|
# 运行 v2 智能版(推荐)
|
||
|
|
python yuanbao_agent_v2.py
|
||
|
|
```
|