diff --git a/EN_README.md b/EN_README.md index 5338167..2ad0f44 100644 --- a/EN_README.md +++ b/EN_README.md @@ -107,7 +107,7 @@ You can also join the QQ group for discussion: 1071821688. Verification answer: ### ⚙️ Run Steps 1. Clone the repo: ```bash - git clone https://github.com/your-username/cultivation-world-simulator.git + git clone https://github.com/AI-Cultivation/cultivation-world-simulator.git cd cultivation-world-simulator ``` @@ -121,19 +121,23 @@ You can also join the QQ group for discussion: 1071821688. Verification answer: ``` 3. Configure LLM: - Edit `static/config.yml`: + + **Recommended: Configure directly in the frontend (supports quick preset filling)** + + Frontend LLM Config + + You can also manually configure it in `static/local_config.yml` (OpenAI compatible format): ```yaml - llm: - key: "your-api-key-here" # your api key - base_url: "https://api.xxx.com" # API addr - model_name: "normal_model_name" - fast_model_name: "fast_model_name" + llm: + base_url: https://api.deepseek.com # API addr + key: your-api-key-here # your api key + model_name: deepseek-chat # normal model name + fast_model_name: deepseek-chat # fast model name + mode: default # run mode (default/normal/fast) ``` Supports all API providers compatible with OpenAI interface format (e.g., Qwen, DeepSeek, SiliconFlow, OpenRouter, etc.) - You can also configure LLM parameters directly in the frontend: - - Frontend LLM Config + **Local Deployment (Ollama):** Also supports connecting to local Ollama, just select "Ollama (Local)" preset in the frontend. 4. Run: ```bash diff --git a/README.md b/README.md index a35024f..2a1a019 100644 --- a/README.md +++ b/README.md @@ -113,21 +113,21 @@ 如果你已经安装了 Docker,这是最简单的方式: -# 1. 克隆项目 -```bash +1. **克隆项目** + ```bash + git clone https://github.com/AI-Cultivation/cultivation-world-simulator.git + cd cultivation-world-simulator + ``` -git clone https://github.com/AI-Cultivation/cultivation-world-simulator.git -cd cultivation-world-simulator -``` -# 2. 启动服务(自动构建并运行) -```bash -docker-compose up -d --build -``` -# 3. 访问应用 +2. **启动服务(自动构建并运行)** + ```bash + docker-compose up -d --build + ``` -前端:`http://localhost:8123` -后端 API:`http://localhost:8002` -``` +3. **访问应用** + + 前端:`http://localhost:8123` + 后端 API:`http://localhost:8002` #### 方式二:手动安装运行