Compare commits

...

2 Commits

Author SHA1 Message Date
71b25a1321 Merge pull request 'add requirements' (#1) from develop into main
Reviewed-on: http://192.168.31.46:3000/GuangYu/Agents/pulls/1
2026-04-06 18:27:17 +08:00
Nelson
7210ad9c53 add requirements 2026-04-06 18:24:17 +08:00
2 changed files with 19 additions and 4 deletions

View File

@@ -31,13 +31,25 @@ workspace/
## 环境搭建 ## 环境搭建
### 1. 安装依赖 ### 1. 克隆项目
```bash ```bash
pip install "google-adk[extensions]" python-dotenv git clone <your-repo-url>
cd <project-directory>
``` ```
### 2. 配置环境变量 ### 2. 安装依赖
```bash
pip install -r requirements.txt
```
主要依赖:
- `google-adk` — Google Agent Development Kit
- `python-dotenv` — 环境变量管理
- `litellm` — 多模型适配层
### 3. 配置环境变量
复制示例配置文件并填入你的 API Key 复制示例配置文件并填入你的 API Key
@@ -58,7 +70,7 @@ MINIMAX_API_BASE=https://api.minimaxi.com/v1
MINIMAX_MODEL=openai/MiniMax-M2.7 MINIMAX_MODEL=openai/MiniMax-M2.7
``` ```
### 3. 启动服务 ### 4. 启动服务
```bash ```bash
cd agents cd agents

3
requirements.txt Normal file
View File

@@ -0,0 +1,3 @@
google-adk[extensions]>=1.28.0
python-dotenv>=1.0.0
litellm>=1.80.0