mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-07 05:32:20 +01:00
Squash Odysseus development history
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from core.models import ChatMessage
|
||||
from routes.history.history_routes import _has_immediate_continue_marker
|
||||
|
||||
|
||||
def test_short_resume_control_is_a_merge_marker():
|
||||
messages = [
|
||||
ChatMessage("assistant", "partial", {"stopped": True}),
|
||||
ChatMessage("user", "Continue from where you left off."),
|
||||
ChatMessage("assistant", "finished"),
|
||||
]
|
||||
assert _has_immediate_continue_marker(messages, 0, 2)
|
||||
Reference in New Issue
Block a user