mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-22 16:25:58 +00:00
test: align string summaries with grounded task snapshot
This commit is contained in:
parent
761a0b124e
commit
2f824ec5d2
1 changed files with 3 additions and 1 deletions
|
|
@ -719,7 +719,9 @@ class TestNonStringContent:
|
|||
with patch("agent.context_compressor.call_llm", return_value=mock_response):
|
||||
summary = c._generate_summary(messages)
|
||||
|
||||
assert summary == f"{SUMMARY_PREFIX}\nplain summary text"
|
||||
assert summary.startswith(f"{SUMMARY_PREFIX}\n{HISTORICAL_TASK_HEADING}\n")
|
||||
assert "do something" in summary
|
||||
assert summary.endswith("plain summary text")
|
||||
|
||||
def test_summary_call_does_not_force_temperature(self):
|
||||
mock_response = MagicMock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue