refactor: trim model preset tool handling

maintainer edit: remove duplicate documentation and inline one-use formatting so the PR keeps the same behavior with less code.
This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-06-18 00:03:13 +08:00
1 parent ef6da0a94e
commit b46aac0554
2 files changed
+5 -16

No files matched your search

-3
View File
@@ -57,9 +57,6 @@ my(action="check", key="_last_usage.prompt_tokens")
my(action="check", key="model")
# → What model I'm currently running on
my(action="check", key="model_preset")
# → Which named model preset is active, or None/default
my(action="check", key="web_config.enable")
# → Whether web search is enabled
```