mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
test(honcho): align observer-resolution test with post-#62290 call shape
The salvaged test from PR #62982 asserted search_query=None as an explicit kwarg; current _fetch_peer_context omits search_query when None.
This commit is contained in:
parent
04d84df63c
commit
b170f522a4
1 changed files with 1 additions and 3 deletions
|
|
@ -396,9 +396,7 @@ class TestPeerLookupHelpers:
|
|||
"ai_card": "Role: Assistant",
|
||||
}
|
||||
assert assistant_peer.context.call_count == 2
|
||||
assistant_peer.context.assert_any_call(
|
||||
target=session.user_peer_id, search_query=None,
|
||||
)
|
||||
assistant_peer.context.assert_any_call(target=session.user_peer_id)
|
||||
assistant_peer.context.assert_any_call(target=session.assistant_peer_id)
|
||||
|
||||
def test_get_ai_representation_uses_peer_api(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue