added default reasoning_effort

This commit is contained in:
Luxferre
2026-09-02 08:58:28 +03:00
parent f17f15aea8
commit c64e79b22f
5 changed files with 12 additions and 3 deletions
+2
View File
@@ -45,6 +45,7 @@ All implementations read `model.cfg` (or `.bantam.cfg`, which takes priority if
api_key=your_api_key_here
stream=true
context_window=200000
reasoning_effort=high
```
2. Interactive mode:
@@ -150,6 +151,7 @@ If the API rejects the request with an `Invalid assistant message: content or to
- `shell_timeout` (timeout in seconds for `shell_exec` commands, default 120)
- `max_al_iterations` (max tool-call loop iterations per `AL()` invocation, default 1000)
- `context_window` (context window size in tokens, auto-discovered from `/models` API if available, fallback to this setting, default 200000)
- `reasoning_effort` (reasoning effort level, forwarded to chat completions API, default `high`)
- `bantam_tools_dir` (optional path to a directory of extra shell tools; the Go port appends `"Extra shell tools can be found at <dir>"` to the system prompt at startup when set. The `BANTAM_TOOLS_DIR` environment variable overrides this and is checked first; if neither is set, nothing is appended. Note: this is an agent-internal hint, not forwarded to the API.)