Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent c9dd68d890
commit 84aa9a91de
871 changed files with 265870 additions and 27854 deletions
+11
View File
@@ -50,6 +50,17 @@ async def test_continuation_phrase_falls_back_to_original_ask(handler, monkeypat
assert result == "Summarize recent advances in fusion energy."
@pytest.mark.asyncio
async def test_search_continuation_falls_back_to_original_ask(handler, monkeypatch):
monkeypatch.setattr("src.llm_core.llm_call_async", _raise)
sess = _session([
("user", "Which Swedish king was most associated with dancing and court balls?"),
("assistant", "Gustav III is the likely answer. Want me to verify?"),
])
result = await handler.synthesize_query(sess, "can you search", "http://local.test", "m")
assert result == "Which Swedish king was most associated with dancing and court balls?"
@pytest.mark.asyncio
async def test_short_country_answer_is_kept(handler, monkeypatch):
# original ask + assistant asks "which country?" + user "UK" => "UK"