Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix(docs): 修正配置信息.md

xiaoxiawanga8b5f02804d7
diff --git a/docs/en/Configuration.md b/docs/en/Configuration.md
index 8d760e30f1..9a242a68e4 100644
--- a/docs/en/Configuration.md
+++ b/docs/en/Configuration.md
@@ -51,12 +51,14 @@ JiuwenSwarm supports multiple model types to meet diverse scenario requirements:
Each model type supports the following parameters:
-| Field | Description | Remarks |
-| ------------------ | ---------------------------- | -------------------------------------------------------------------------------------------- |
-| `api_base` | Base URL for model API | Use the provider's API endpoint; **do not include `/chat/completions`**; appended automatically |
-| `api_key` | Model API key | Obtained from the model provider; keep confidential |
-| `model` | Model identifier | Use exact model ID such as `gpt-4o`, `claude-3-opus`, `deepseek-chat` |
-| `model_provider` | Model provider type | Supports `OpenAI`, `DeepSeek`, `DashScope`, `SiliconFlow`, `InferenceAffinity`, `OpenRouter` for API format adaptation; video/audio/vision models currently support `OpenAI` only |
+| Field (frontend) | Backend field (config.yaml) | Description | Remarks |
+| ---------------- | --------------------------- | ---------------------------- | -------------------------------------------------------------------------------------------- |
+| `api_base` | `api_base` | Base URL for model API | Use the provider's API endpoint; **do not include `/chat/completions`**; appended automatically |
+| `api_key` | `api_key` | Model API key | Obtained from the model provider; keep confidential |
+| `model` | `model_name` | Model identifier | Use exact model ID such as `gpt-4o`, `claude-3-opus`, `deepseek-chat` |
+| `model_provider` | `client_provider` | Model provider type | Supports `OpenAI`, `DeepSeek`, `DashScope`, `SiliconFlow`, `InferenceAffinity`, `OpenRouter` for API format adaptation; video/audio/vision models currently support `OpenAI` only |
+
+> 💡 **Field Mapping**: The frontend panel uses `model` / `model_provider` as display field names; when saved to `config.yaml` they are mapped to backend fields `model_name` / `client_provider`. Both refer to the same thing, only the naming in the config file differs.
> 💡 **Test Function**: The configuration panel provides a **Test button**. After filling in the model configuration, you can click "Test" to verify the API connection. The system will send a simple test request and display "Test Successful" if successful, or show error information otherwise.
@@ -73,6 +75,24 @@ model: gpt-4o
model_provider: OpenAI
```
+**DeepSeek**
+
+```
+api_base: https://api.deepseek.com/v1
+api_key: sk-your-deepseek-api-key
+model: deepseek-chat
+model_provider: DeepSeek
+```
+
+**SiliconFlow**
+
+```
+api_base: https://api.siliconflow.cn/v1
+api_key: sk-your-siliconflow-api-key
+model: Qwen/Qwen2.5-72B-Instruct
+model_provider: SiliconFlow
+```
+
> 💡 **Tip**: Most model providers offer OpenAI-compatible APIs. You can adjust `api_base` and `model` parameters based on your actual provider.
### 2.3 Multi-Model Management and Aliases
@@ -81,14 +101,14 @@ The **Model List** section in the configuration panel supports maintaining multi
Each model entry contains the following fields:
-| Field | Required | Description |
-|------|---------|------|
-| `model_name` | Yes | Model name at the API layer (e.g., `gpt-4o`, `deepseek-chat`) |
-| `api_base` | Yes | API endpoint for this model |
-| `api_key` | Yes | API key for this model |
-| `model_provider` | Yes | Provider (e.g., `OpenAI`, `DeepSeek`) |
-| `reasoning_level` | No | Reasoning intensity; optional `off` / `low` / `medium` / `high`; leave empty to unset |
-| `temperature` | No | Sampling temperature, default `0.95` |
+| Field (frontend) | Backend field (config.yaml) | Required | Description |
+|------|---------|---------|------|
+| `model_name` | `model_name` | Yes | Model name at the API layer (e.g., `gpt-4o`, `deepseek-chat`) |
+| `api_base` | `api_base` | Yes | API endpoint for this model |
+| `api_key` | `api_key` | Yes | API key for this model |
+| `model_provider` | `client_provider` | Yes | Provider (e.g., `OpenAI`, `DeepSeek`) |
+| `reasoning_level` | `reasoning_level` | No | Reasoning intensity; optional `off` / `low` / `medium` / `high`; leave empty to unset |
+| `temperature` | `temperature` | No | Sampling temperature, default `0.95` |
**`alias` Rules**:
- If empty, it automatically defaults to `model_name` when saved;
@@ -169,13 +189,15 @@ Embedding models convert text into vector representations and form the core of J
> 💡 **Tip**: Embedding configuration is optional. If not set, the system uses a mock provider for basic retrieval. Configuring an embedding model improves semantic search precision. See the [Memory](Memory.md) documentation for details.
+> 💡 **Frontend Fields and Environment Variables**: The frontend fields below are saved to the `embed` section of `config.yaml`; if not set via the frontend, they can also be injected via environment variables, which take precedence over the config file. Mapping: `embed_api_key` ↔ `EMBED_API_KEY`, `embed_api_base` ↔ `EMBED_API_BASE` (field name in config.yaml is `embed_base_url`), `embed_model` ↔ `EMBED_MODEL`.
+
### 3.2 Configuration Fields
-| Field | Description | Reference Format | Remarks |
-| ------------------ | ------------------------------- | --------------------------------------- | ----------------------------------------- |
-| `embed_api_base` | Base URL for embedding API | `https://api.siliconflow.cn/v1` | Embedding service API endpoint |
-| `embed_api_key` | Embedding service API key | `sk-xxxxxxxxxxxxxxxx` | Obtained from the service provider |
-| `embed_model` | Embedding model name | `BAAI/xxx` | Chinese-optimized embedding recommended |
+| Field (frontend) | Backend field (config.yaml) | Description | Reference Format | Remarks |
+| ---------------- | --------------------------- | ------------------------------- | --------------------------------------- | ----------------------------------------- |
+| `embed_api_base` | `embed_base_url` | Base URL for embedding API | `https://api.siliconflow.cn/v1` | Embedding service API endpoint |
+| `embed_api_key` | `embed_api_key` | Embedding service API key | `sk-xxxxxxxxxxxxxxxx` | Obtained from the service provider |
+| `embed_model` | `embed_model` | Embedding model name | `BAAI/xxx` | Chinese-optimized embedding recommended |
---
@@ -209,10 +231,15 @@ Self-evolution controls the automatic improvement of JiuwenSwarm's Skills.
### Toggles
-The frontend shows two options under **Self-Evolution Configuration**:
+The frontend shows the following options under **Self-Evolution Configuration**:
-- **Auto-detect evolution signals**: disabled by default. When enabled, the system scans failures, corrections, and other evolution signals after chat and tool execution. This maps to `react.evolution.auto_scan`; env `EVOLUTION_AUTO_SCAN` takes precedence.
-- **Auto-suggest new skill creation**: disabled by default. When enabled, the system can propose creating a new Skill when no suitable Skill exists. This maps to `react.evolution.skill_create`; env `SKILL_CREATE` takes precedence.
+| Switch | Config key | Default | Purpose |
+| --- | --- | --- | --- |
+| **Enable Skills Self-Evolution** (master switch) | `react.evolution.enabled` | `true` | Master switch for self-evolution. When off, the entire self-evolution chain (including the `/evolve` manual command) is unavailable |
+| **Auto-detect evolution signals** | `react.evolution.auto_scan` | `false` | When enabled, the system scans failures, corrections, and other evolution signals after chat and tool execution. Env `EVOLUTION_AUTO_SCAN` takes precedence |
+| **Auto-suggest new skill creation** | `react.evolution.skill_create` | `false` | When enabled, the system can propose creating a new Skill when no suitable Skill exists. Env `SKILL_CREATE` takes precedence |
+
+> 💡 **Note**: `react.evolution.enabled` is the master switch (on by default, determines whether self-evolution is available), `auto_scan` / `skill_create` are sub-switches (off by default, determine whether to trigger automatically). Even with the master switch on, `auto_scan` only controls automatic scanning of failure/correction signals; `skill_create` independently controls whether to auto-suggest new skill creation. When both are off, the system only responds to manual `/evolve` commands.
> 📖 For details on the self-evolution mechanism, see [Skill Self-Evolution](SkillSelfEvolution.md).
@@ -242,7 +269,7 @@ When enabled, the system will:
**Compute Affinity (KV Release)** is an advanced optimization feature of context compression for managing GPU memory usage.
-- **Field**: `context_engine.kv_release_enabled`
+- **Field**: `react.context_engine_config.enable_kv_cache_release`
- **Default**: `false` (disabled)
- **Purpose**: When enabled, the system dynamically releases KV Cache (key-value cache) that is no longer needed during conversations, saving GPU memory and allowing longer dialogue contexts.
@@ -310,9 +337,11 @@ Memory sensitive-info filtering protects user privacy by preventing sensitive in
### Toggle
-- **Field**: `memory.filter_enabled`
-- **Default**: `true` (enabled)
-- **Purpose**: When enabled, the system automatically detects and filters sensitive information before writing to memory.
+- **Field**: `memory.forbidden_memory_definition.enabled`
+- **Default**: `false` (disabled)
+- **Purpose**: When enabled, the system automatically detects and filters sensitive information before writing to memory, matching against `memory.forbidden_memory_definition.patterns`.
+
+> 💡 **Note**: This switch is off by default and must be enabled manually. When enabled, the system matches sensitive information according to `forbidden_memory_definition.patterns`; the `description` field records the filter policy description text (Chinese/English).
### Filtered Content Types
@@ -408,7 +437,11 @@ Common settings:
## 10. Advanced Configuration
-Beyond the **Configuration** page, the product may use a **main configuration** for timeouts, temperature, heartbeat interval, context thresholds, and toggles that work together with **context compression**, **permissions**, **memory restrictions**, and similar UI switches. **This document does not state where those files live on disk**; for offline edits or bulk rollout, contact your administrator.
+Beyond the **Configuration** page, the product may use a **main configuration** for timeouts, temperature, heartbeat interval, context thresholds, and toggles that work together with **context compression**, **permissions**, **memory restrictions**, and similar UI switches. The main config file is typically located at:
+
+```text
+~/.jiuwenswarm/config/config.yaml
+```
### 10.1 Common logical keys (conceptual paths)
@@ -452,4 +485,24 @@ A: Model information is displayed on the configuration panel. You may also check
A: No. Video, audio, and vision models are optional and only required for their respective multimodal functions.
+### Q: Does `api_base` need the `/chat/completions` suffix?
+
+A: No. `api_base` only needs to go up to the version level (e.g., `https://api.openai.com/v1`); the system appends `/chat/completions` automatically. Adding the suffix manually may cause duplicate request paths and errors. Use the "Test" button to verify connectivity after configuration.
+
+### Q: What to do when `alias` conflicts in the model list?
+
+A: `alias` must be globally unique across all configured models and cannot duplicate another model's `alias` or `model_name`. When left empty, the system auto-assigns it as `model_name`. On conflict, manually assign a different `alias`; when switching models (Web dropdown or `/model <name>`), either `alias` or `model_name` can be used as the identifier.
+
+### Q: What happens if Embed configuration is not filled in?
+
+A: No critical impact. Embed is optional; when unset, the system uses a Mock Provider for basic retrieval. Configuring it provides more precise semantic search and better memory recall. Chinese-optimized embedding models are recommended.
+
+### Q: Is Tool Security Guardrails enabled by default?
+
+A: No. Tool Security Guardrails corresponds to `permissions.enabled`, which defaults to `false` (disabled). When enabled, the system checks permission rules before sensitive tool operations (such as `bash`, `write_file`) and resolves to `allow`/`ask`/`deny`, prompting a confirmation dialog for `ask`.
+
+### Q: How to apply changes after directly editing `~/.jiuwenswarm/config/config.yaml`?
+
+A: The system automatically detects and hot-reloads the file after saving (most settings take effect immediately; a few require a process restart). If changes do not apply after a long time, check the YAML format or re-save via the Web configuration panel to trigger a refresh.
+
---
diff --git "a/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md" "b/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
index b6bd7bd0ea..85f026976c 100644
--- "a/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
+++ "b/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
@@ -51,12 +51,14 @@ JiuwenSwarm 支持配置多种类型的模型,以满足不同场景的需求
每种模型类型都包含以下配置项:
-| 配置项 | 说明 | 备注 |
-| ---------------- | ----------------- | ------------------------------------------------------------ |
-| `api_base` | 模型 API 基础地址 | 填写服务商提供的 API 地址,**无需包含 `/chat/completions` 后缀**,系统会自动补齐 |
-| `api_key` | 模型 API 密钥 | 从模型服务商官网获取,注意保密 |
-| `model` | 模型名称 | 填写具体的模型 ID,如 `gpt-4o`、`claude-3-opus`、`deepseek-chat` 等 |
-| `model_provider` | 模型提供商类型 | 支持 `OpenAI`、`DeepSeek`、`DashScope`、`SiliconFlow`、`InferenceAffinity`、`OpenRouter`,用于适配不同服务商的 API 格式;视频/音频/视觉模型当前仅支持 `OpenAI` |
+| 配置项(前端字段) | 后端字段(config.yaml) | 说明 | 备注 |
+| ---------------- | --------------------- | ----------------- | ------------------------------------------------------------ |
+| `api_base` | `api_base` | 模型 API 基础地址 | 填写服务商提供的 API 地址,**无需包含 `/chat/completions` 后缀**,系统会自动补齐 |
+| `api_key` | `api_key` | 模型 API 密钥 | 从模型服务商官网获取,注意保密 |
+| `model` | `model_name` | 模型名称 | 填写具体的模型 ID,如 `gpt-4o`、`claude-3-opus`、`deepseek-chat` 等 |
+| `model_provider` | `client_provider` | 模型提供商类型 | 支持 `OpenAI`、`DeepSeek`、`DashScope`、`SiliconFlow`、`InferenceAffinity`、`OpenRouter`,用于适配不同服务商的 API 格式;视频/音频/视觉模型当前仅支持 `OpenAI` |
+
+> 💡 **字段映射说明**:前端配置面板使用 `model` / `model_provider` 作为展示字段名,保存到 `config.yaml` 时会映射为后端字段 `model_name` / `client_provider`。两者含义一致,仅在配置文件中的命名不同。
> 💡 **测试功能**:配置面板提供了**测试按钮**,填写完模型配置后,可以点击"测试"按钮验证 API 连接是否正常。系统会发送一个简单的测试请求,如果成功会显示"测试成功",否则会提示错误信息。
@@ -73,6 +75,24 @@ model: gpt-4o
model_provider: OpenAI
```
+以 DeepSeek 为例:
+
+```
+api_base: https://api.deepseek.com/v1
+api_key: sk-your-deepseek-api-key
+model: deepseek-chat
+model_provider: DeepSeek
+```
+
+以 SiliconFlow 为例:
+
+```
+api_base: https://api.siliconflow.cn/v1
+api_key: sk-your-siliconflow-api-key
+model: Qwen/Qwen2.5-72B-Instruct
+model_provider: SiliconFlow
+```
+
> 💡 **提示**:大多数模型服务商都提供 OpenAI 兼容的 API,您可以根据实际使用的服务商调整 `api_base` 和 `model` 参数。
### 2.3 多模型管理与别名
@@ -81,14 +101,14 @@ model_provider: OpenAI
每个模型条目包含以下字段:
-| 字段 | 是否必填 | 说明 |
-|------|---------|------|
-| `model_name` | 必填 | 模型在 API 层的名称(如 `gpt-4o`、`deepseek-chat`) |
-| `api_base` | 必填 | 该模型的 API 地址 |
-| `api_key` | 必填 | 该模型的 API 密钥 |
-| `model_provider` | 必填 | 提供商(如 `OpenAI`、`DeepSeek`) |
-| `reasoning_level` | 选填 | 推理强度,可选 `off` / `low` / `medium` / `high`,留空表示不设置 |
-| `temperature` | 选填 | 采样温度,默认 `0.95` |
+| 字段(前端字段) | 后端字段(config.yaml) | 是否必填 | 说明 |
+|------|---------|---------|------|
+| `model_name` | `model_name` | 必填 | 模型在 API 层的名称(如 `gpt-4o`、`deepseek-chat`) |
+| `api_base` | `api_base` | 必填 | 该模型的 API 地址 |
+| `api_key` | `api_key` | 必填 | 该模型的 API 密钥 |
+| `model_provider` | `client_provider` | 必填 | 提供商(如 `OpenAI`、`DeepSeek`) |
+| `reasoning_level` | `reasoning_level` | 选填 | 推理强度,可选 `off` / `low` / `medium` / `high`,留空表示不设置 |
+| `temperature` | `temperature` | 选填 | 采样温度,默认 `0.95` |
**`alias` 规则**:
- 留空时存储时自动赋值为 `model_name`;
@@ -171,13 +191,15 @@ Embed 模型的主要作用:
> 💡 **提示**:Embed 配置为可选。若不配置,系统将使用 Mock Provider 进行基础检索。配置后可获得更精准的语义搜索能力。关于记忆系统的详细内容,请参考 [记忆](记忆.md) 文档。
+> 💡 **前端字段与环境变量**:下表中的前端配置项保存后会写入 `config.yaml` 的 `embed` 段;若未通过前端配置,也可用环境变量注入,环境变量优先级高于配置文件。对应关系:`embed_api_key` ↔ `EMBED_API_KEY`、`embed_api_base` ↔ `EMBED_API_BASE`(写入 config.yaml 时字段名为 `embed_base_url`)、`embed_model` ↔ `EMBED_MODEL`。
+
### 3.2 配置项说明
-| 配置项 | 说明 | 参考格式 | 备注 |
-| ---------------- | ----------------------- | ------------------------------- | ----------------------------- |
-| `embed_api_base` | Embed 服务 API 基础地址 | `https://api.siliconflow.cn/v1` | 填写 Embed 服务商的 API 地址 |
-| `embed_api_key` | Embed 服务 API 密钥 | `sk-xxxxxxxxxxxxxxxx` | 从服务商官网获取 |
-| `embed_model` | Embed 模型名称 | `BAAI/xxx` | 建议使用支持中文的 Embed 模型 |
+| 配置项(前端字段) | 后端字段(config.yaml) | 说明 | 参考格式 | 备注 |
+| ---------------- | --------------------- | ----------------------- | ------------------------------- | ----------------------------- |
+| `embed_api_base` | `embed_base_url` | Embed 服务 API 基础地址 | `https://api.siliconflow.cn/v1` | 填写 Embed 服务商的 API 地址 |
+| `embed_api_key` | `embed_api_key` | Embed 服务 API 密钥 | `sk-xxxxxxxxxxxxxxxx` | 从服务商官网获取 |
+| `embed_model` | `embed_model` | Embed 模型名称 | `BAAI/xxx` | 建议使用支持中文的 Embed 模型 |
---
@@ -197,6 +219,8 @@ Embed 模型的主要作用:
> ⚠️ **注意**:均为可选。不填写时,对应能力可能不可用或走降级策略,以实际产品行为为准。
+> 💡 **TeamSkillsHub Token 说明**:`teamskills_user_token` 用于在 `/swarmskills search`、`/swarmskills install` 等命令中标识您的 TeamSkillsHub 账户身份,便于技能的安装记录、版本追踪与权限校验。不配置时,仍可浏览和搜索公开技能,但安装 / 同步私有技能、记录安装历史等功能将受限。配置方式:在 [TeamSkillsHub](https://teamskills.openjiuwen.com) 登录后于个人中心生成 Token,填入配置面板即可。
+
此外还有两类相关配置:
- **免费搜索引擎配置**:`free_search_ddg_enabled`(DuckDuckGo)、`free_search_bing_enabled`(Bing)两个开关,控制免费搜索引擎的启用。
@@ -212,10 +236,15 @@ Embed 模型的主要作用:
### 开关说明
-前端在 **自演进配置** 中展示两个开关:
+前端在 **自演进配置** 中展示以下开关:
+
+| 开关 | 对应配置 | 默认值 | 作用 |
+| --- | --- | --- | --- |
+| **启用 Skills 自演进**(总开关) | `react.evolution.enabled` | `true` | 自演进功能总开关。关闭后整条自演进链路(含 `/evolve` 手动指令)均不可用 |
+| **自动检测可演进信号** | `react.evolution.auto_scan` | `false` | 开启后,系统会在对话和工具执行后自动扫描失败、纠错等演进信号。环境变量 `EVOLUTION_AUTO_SCAN` 优先 |
+| **自动建议创建新技能** | `react.evolution.skill_create` | `false` | 开启后,系统可以在缺少合适 Skill 时提出自动创建建议。环境变量 `SKILL_CREATE` 优先 |
-- **自动检测可演进信号**:默认关闭。开启后,系统会在对话和工具执行后自动扫描失败、纠错等演进信号。对应配置 `react.evolution.auto_scan`,环境变量 `EVOLUTION_AUTO_SCAN` 优先。
-- **自动建议创建新技能**:默认关闭。开启后,系统可以在缺少合适 Skill 时提出自动创建建议。对应配置 `react.evolution.skill_create`,环境变量 `SKILL_CREATE` 优先。
+> 💡 **说明**:`react.evolution.enabled` 是总开关(默认开启,决定自演进能力是否可用),`auto_scan` / `skill_create` 是其下的子开关(默认关闭,决定是否自动触发)。`Skill自演进.md` 中提到的 `evolution_auto_scan` 即对应这里的 `auto_scan` 子项。即使总开关开启,`auto_scan` 只控制失败/纠错信号的自动扫描;`skill_create` 独立控制是否自动建议创建新技能。当两者均关闭时,系统仅响应手动 `/evolve` 指令。
> 📖 **详情**:关于自演进机制的详细说明,请参考 [Skill 自演进](Skill自演进.md) 文档。
@@ -245,7 +274,7 @@ Embed 模型的主要作用:
**算力亲和(KV 释放)** 是上下文压缩的高级优化功能,用于管理 GPU 显存使用。
-- **配置项**:`context_engine.kv_release_enabled`
+- **配置项**:`react.context_engine_config.enable_kv_cache_release`
- **默认值**:`false`(关闭)
- **作用**:启用后,系统会在对话过程中动态释放不再需要的 KV Cache(键值缓存),以节省 GPU 显存空间,允许处理更长的对话上下文
@@ -313,9 +342,11 @@ permissions:
### 开关说明
-- **配置项**:`memory.filter_enabled`
-- **默认值**:`true`(开启)
-- **作用**:启用后,系统会在写入记忆前自动检测并过滤敏感信息
+- **配置项**:`memory.forbidden_memory_definition.enabled`
+- **默认值**:`false`(关闭)
+- **作用**:启用后,系统会在写入记忆前按 `memory.forbidden_memory_definition.patterns` 自动检测并过滤敏感信息
+
+> 💡 **说明**:该开关默认关闭,需要手动开启。开启后系统会按 `forbidden_memory_definition.patterns` 中的规则匹配敏感信息;`description` 字段用于记录过滤策略的说明文字(中英文)。
### 过滤内容类型
@@ -411,7 +442,13 @@ permissions:
## 十、高级配置
-除 **配置信息** 页中的表单项外,产品还可通过**主配置**调整超时、温度、心跳间隔、上下文窗口阈值等(与界面中的「上下文压缩」「权限」「记忆禁忌」等开关配合使用)。**本文不列出这些项在磁盘上的位置**;若您需要离线修改或批量下发,请咨询部署方或管理员。
+除 **配置信息** 页中的表单项外,产品还可通过**主配置**调整超时、温度、心跳间隔、上下文窗口阈值等(与界面中的「上下文压缩」「权限」「记忆禁忌」等开关配合使用)。主配置文件通常位于:
+
+```
+~/.jiuwenswarm/config/config.yaml
+```
+
+(具体路径以部署环境为准;容器化部署时一般在挂载的配置卷内)。**本文不列出这些项的详细字段**;若您需要离线修改或批量下发,请咨询部署方或管理员。
### 10.1 主配置中常见的逻辑项(概念名)
@@ -455,4 +492,24 @@ A: 在配置面板中可以看到当前配置的模型信息。也可以通过
A: 不必须。视频、音频、视觉模型都是可选的。只有当您需要使用相应的多模态功能时才需要配置。
+### Q: 模型配置里的 `api_base` 需要带 `/chat/completions` 后缀吗?
+
+A: 不需要。`api_base` 只填到版本号层级即可(如 `https://api.openai.com/v1`),系统会自动补齐 `/chat/completions`。如果手动补上后缀,可能导致请求路径重复而报错。配置完成后可点击「测试」按钮验证连通性。
+
+### Q: 多模型列表中 `alias` 提示冲突怎么办?
+
+A: `alias` 在所有已配置模型中必须全局唯一,且不能与其他模型的 `alias` 或 `model_name` 重复。留空时系统会自动赋值为 `model_name`。出现冲突时,请手动为重复的模型指定不同的 `alias`;切换模型时(Web 下拉或 `/model <name>`)可以用 `alias` 或 `model_name` 作为标识符。
+
+### Q: Embed 配置不填写会有影响吗?
+
+A: 不会有致命影响。Embed 为可选配置,不填写时系统会使用 Mock Provider 进行基础检索;配置后可获得更精准的语义搜索能力,记忆系统的召回效果会更好。建议使用支持中文的 Embed 模型。
+
+### Q: 工具安全护栏默认是开启的吗?
+
+A: 不是。工具安全护栏对应配置项 `permissions.enabled`,默认为 `false`(关闭)。开启后,系统会在执行敏感工具操作(如 `bash`、`write_file`)前按权限规则判断是 `allow`/`ask`/`deny`,并在 `ask` 时弹出确认框由用户决定。
+
+### Q: 直接修改 `~/.jiuwenswarm/config/config.yaml` 后如何让它生效?
+
+A: 保存后系统会自动检测并热重载(大部分配置项即时生效,少数需要进程重启)。如果长时间未生效,请检查 YAML 格式是否正确,或通过 Web 配置面板重新保存一次触发刷新。
+
---