add requirements #1
20
README.md
20
README.md
@@ -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
3
requirements.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
google-adk[extensions]>=1.28.0
|
||||||
|
python-dotenv>=1.0.0
|
||||||
|
litellm>=1.80.0
|
||||||
Reference in New Issue
Block a user