mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-08 09:07:28 +08:00
refactor: stabilize runtime and unify config
This commit is contained in:
16
README_EN.md
16
README_EN.md
@@ -180,7 +180,14 @@ ClawGo currently has four layers:
|
||||
|
||||
## Config Layout
|
||||
|
||||
Recommended structure:
|
||||
There are now two configuration views:
|
||||
|
||||
- the persisted file still uses the raw structure shown below
|
||||
- the WebUI and runtime-facing APIs prefer a normalized view:
|
||||
- `core`
|
||||
- `runtime`
|
||||
|
||||
Recommended raw structure:
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -217,6 +224,13 @@ Notes:
|
||||
- `agents.defaults.execution`
|
||||
- `agents.defaults.summary_policy`
|
||||
- `agents.router.policy`
|
||||
- the WebUI now saves through the normalized schema first:
|
||||
- `core.default_provider`
|
||||
- `core.main_agent_id`
|
||||
- `core.subagents`
|
||||
- `runtime.router`
|
||||
- `runtime.providers`
|
||||
- runtime panels now consume the unified `runtime snapshot / runtime live`
|
||||
- enabled local subagents must define `system_prompt_file`
|
||||
- remote branches require:
|
||||
- `transport: "node"`
|
||||
|
||||
Reference in New Issue
Block a user