docs: sync documentation with source code

- Fix branch badge: test -> main in README files
- Update tool_limits config: remove non-existent persona_query_max and task_query_max fields
- Complete memory tools list: add memory_archive, memory_cleanup, context_rewrite
- Remove 'experimental' labels from context_rewrite feature
This commit is contained in:
root
2026-04-17 10:08:50 +08:00
parent de09eacabc
commit 0ebd1d7ac6
9 changed files with 19 additions and 21 deletions

View File

@ -179,10 +179,8 @@ body = {} # No parameters
"model": str # Model name
},
"tool_limits": {
"persona_query_max": int, # Persona graph query limit
"persona_update_max": int, # Persona graph update limit
"task_query_max": int, # Working memory query limit
"task_update_max": int, # Working memory update limit
"task_update_max": int, # Working memory chain update limit
"memory_query_max": int, # General memory query limit
"memory_update_max": int # General memory update limit
}
@ -211,9 +209,7 @@ body = {
"model": str # Model name (default: deepseek-chat)
},
"tool_limits": {
"persona_query_max": int, # Persona query limit (≥1)
"persona_update_max": int, # Persona update limit (≥1)
"task_query_max": int, # Working memory query limit (≥1)
"task_update_max": int, # Working memory update limit (≥1)
"memory_query_max": int, # General memory query limit (≥1)
"memory_update_max": int # General memory update limit (≥1)
@ -237,8 +233,8 @@ result = client.update_settings(
"model": "deepseek-chat"
},
tool_limits={
"persona_query_max": 2,
"task_query_max": 5,
"persona_update_max": 2,
"task_update_max": 5,
"memory_query_max": 30
}
)

View File

@ -153,7 +153,7 @@ def main():
- `memory_introspect` - View status
- `memory_archive` - Archive memory
- `memory_cleanup` - Clean data
- `context_rewrite` - Compress single-turn tool call context (experimental)
- `context_rewrite` - Compress single-turn tool call context
### Persona Tools (2)
- `persona_update` - Update persona

View File

@ -66,6 +66,9 @@ Step 4: Update working memory chain
| `memory_commit` | Write memory |
| `memory_purge` | Delete memory |
| `memory_introspect` | View status |
| `memory_archive` | Archive memory |
| `memory_cleanup` | Clean data |
| `context_rewrite` | Compress single-turn tool call context |
#### Persona Tools