docs: refresh stale runtime comments and docstrings (#6129)
* docs: refresh stale runtime comments and docstrings * docs: correct remaining delivery and recovery descriptions
This commit is contained in:
1 parent
e5a69544e8
commit
98f89c6a43
14 files changed
+34
-38
No files matched your search
@@ -365,7 +365,7 @@ class TestConsolidatorSummarize:
|
||||
async def test_summarize_raw_dumps_on_llm_failure(
|
||||
self, consolidator, mock_provider, store, runtime
|
||||
):
|
||||
"""On LLM failure, raw-dump messages to HISTORY.md."""
|
||||
"""On LLM failure, append raw messages to memory/history.jsonl."""
|
||||
mock_provider.chat_stream_with_retry.side_effect = Exception("API error")
|
||||
messages = [{"role": "user", "content": "hello"}]
|
||||
result = await _archive(consolidator, messages, runtime)
|
||||
@@ -1605,7 +1605,7 @@ class TestRawArchiveTruncation:
|
||||
assert "PUBLIC_TAIL" in joined
|
||||
|
||||
def test_raw_archive_truncates_large_content(self, store):
|
||||
"""Large messages should be truncated to _RAW_ARCHIVE_MAX_CHARS."""
|
||||
"""Large messages are split across bounded journal entries."""
|
||||
big = "x" * 50_000
|
||||
messages = [{"role": "user", "content": big}]
|
||||
store.raw_archive(messages)
|
||||
|
||||
Reference in new issue
Block a user