refactor(honcho): remove local memory mode
The "local" memoryMode was redundant with enabled: false. Simplifies the mode system to hybrid and honcho only.
This commit is contained in:
parent
f896bb5d8c
commit
ae2a5e5743
8 changed files with 22 additions and 49 deletions
|
|
@ -64,14 +64,13 @@ class TestGatewayHonchoLifecycle:
|
|||
assert second_cfg is hcfg
|
||||
mock_mgr_cls.assert_called_once()
|
||||
|
||||
def test_gateway_skips_honcho_manager_in_local_mode(self):
|
||||
def test_gateway_skips_honcho_manager_when_disabled(self):
|
||||
runner = _make_runner()
|
||||
hcfg = SimpleNamespace(
|
||||
enabled=True,
|
||||
enabled=False,
|
||||
api_key="honcho-key",
|
||||
ai_peer="hermes",
|
||||
peer_name="alice",
|
||||
peer_memory_mode=lambda peer: "local",
|
||||
)
|
||||
|
||||
with (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue