Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Commits on main

test(journal): add UTF-8 boundary regression test for #5599
Dr Shivakumara B.V. committed 2 months ago
b5e0bcb
test(journal): add UTF-8 boundary regression test for #5599\n
Dr Shivakumara B.V. committed 2 months ago
36c0a04
fix(memory): answer recall_relevant_by_vector on DriverMemory so Lane B injects again\n\nSituational preferences (Lane B) reach memory through the session's\n`Arc<dyn Memory>`, which on every module-backed install is `DriverMemory`.\nThat adapter left `recall_relevant_by_vector` on the contract trait's default\n— an empty list — on the belief that Lane B was reached through some other\nhandle. It was not: since the session handle moved onto the adapter\n(36579b768) the lane has silently injected nothing, while every turn test\nstayed green because the harness tests bind the embedded store, whose own\n`Memory` impl answers the method.\n\n`DriverMemory` now answers through `preferences::recall_by_vector_over`, the\none body behind the guard path as well (`recall_namespace_scored`, filtered on\nthe vector component), so the two cannot drift. A driver without the retrieval\nfamily still answers empty; a driver that has it and fails answers `Err`,\nwhich both callers log once and read as "nothing to inject".\n\nTwo things the live lane made necessary:\n\n- The recall embeds the message — 0.8–3 s on the desktop — and it ran on\n every turn. The lane now lists the namespace first (no embed) and skips the\n recall when no situational preference is stored, so the many users who\n have none pay nothing.\n- Lane B's per-turn budget goes from 3 s to 5 s: the lookup exceeded 3 s on\n both on-topic turns of the field test and lost the block it had just found.\n\nOne info line per lookup (`kept`, `top_similarity`, `floor`, `elapsed_ms` —\nkeys and scores only) is the data the "tunable against live data" floor never\nhad.\n\nTests bind the production adapter over a scripted driver\n(`RecordingProvider::with_namespace_hits` / `with_list_result`): the\noverride's floor, mapping and degradations, a real `turn()` asserting the\npreference block on the user message the model was sent, and one asserting\nthat an empty namespace never reaches the embed.\n\nCloses #6041\n
Shanu committed 2 months ago
feb0401
fix(memory): recall facts about the user before the turn, never claim absence unsearched\n\n"Who is my idol and why?" answered "i don't have that one stored" while the\nfact sat in the memory tree, because nothing in the turn looked: the broad\nper-turn recall had been removed, the only instruction telling the model to\nretrieve first was gated on `learning.enabled` (default false), and nothing\nforbade asserting absence without a search.\n\nLane C (`memory/auto_recall/`) is a gated, bounded pre-turn recall beside the\nsituational-preferences lane: a lexical gate opens only for a message that owns\nand asks ("my … ?", "tell me my …"), one `fast_retrieve` runs through the\nsession binding's guard with a limit of three, a relative score floor and a\n3 s budget, and the block rides the user message, never the cached system\nprompt. Switched by the existing `[subsystems.memory.hooks] auto_recall`\n(`OPENHUMAN_MEMORY_HOOKS_AUTO_RECALL`), which was declared and read by nothing.\nEvery failure is an ordinary turn without a block.\n\n`MemoryAccessSection` is now added whenever a retrieval tool is registered and\nvisible, and it forbids saying something is not stored unless a retrieval just\nreturned nothing. `memory_recall` no longer requires `namespace`; the default\nscope is searched when it is omitted.\n\nLane B moves from `core_turn.rs` (743/750 lines) into `turn/recall_lanes.rs`\nunchanged. `RecordingProvider::with_fast_retrieve_result` scripts the guarded\nretrieval family for tests.\n\nCloses #6040\n
Shanu committed 2 months ago
45ff246
format MiniMax catalog tests
jianglisu committed 2 months ago
7be034a
format MiniMax catalog tests\n
jianglisu committed 2 months ago
d06aa96
merge current main and MiniMax follow-up fixes
jianglisu committed 2 months ago
c5ed628
fix MiniMax pricing tiers and capability mapping
jianglisu committed 2 months ago
f160cc5
0a1a2c1