@eleboucher/opencode-memini 0.4.20 → 0.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/memini.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Pass options inline via the `[name, options]` form:
|
|
|
49
49
|
| `namespace` | `MEMINI_NAMESPACE` | git repo basename | tenant the memory is scoped to (`X-Memini-Namespace`) |
|
|
50
50
|
| `recall` | `MEMINI_RECALL` | on | `false` disables recall-before-turn |
|
|
51
51
|
| `capture` | `MEMINI_CAPTURE` | on | `false` disables capture-after-turn |
|
|
52
|
-
| `recall_limit` | `MEMINI_RECALL_LIMIT` | `
|
|
52
|
+
| `recall_limit` | `MEMINI_RECALL_LIMIT` | `3` | max memories injected per turn |
|
|
53
53
|
| `recall_max_tokens` | `MEMINI_INJECT_RECALL_MAX_TOK` | `0` | hard ceiling on the recall-block tokens (`0` = unbounded); the tail is dropped with a `[… N item(s) truncated by token budget]` footer |
|
|
54
54
|
| `recall_min_score` | `MEMINI_INJECT_RECALL_MIN_SCORE` | `0` | fused-score floor (>=) sent as `min_score` to `/v1/search` |
|
|
55
55
|
| `timeout_ms` | `MEMINI_TIMEOUT_MS` | `30000` | per-request timeout |
|
package/memini.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
const DEFAULT_BASE_URL = "http://localhost:8080";
|
|
20
20
|
const DEFAULT_TIMEOUT_MS = 30000;
|
|
21
|
-
const DEFAULT_RECALL_LIMIT =
|
|
21
|
+
const DEFAULT_RECALL_LIMIT = 3;
|
|
22
22
|
const DEFAULT_NAMESPACE = "opencode";
|
|
23
23
|
const LOOPBACK_HOSTS = new Set(["localhost", "127.0.0.1", "::1"]);
|
|
24
24
|
|