ForcePilot/README.md
Wenjie Zhang 8f19a43efd fix
2024-07-07 02:04:19 +08:00

27 lines
382 B
Markdown
Raw 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.

## Project: Athena
### 准备
1. 提供 API 服务商的 API_KEY并放置在 `src/.env` 文件中,参考 `src/.env.template`。默认使用的是智谱AI。
2. 配置 python 环境 `pip install -r src/requirements.txt`
### 启动命令行模式
```bash
cd src
python cli.py
```
### 启动网页模式
```bash
cd web
npm install
npm run server
cd src
python api.py
```