fix(minicpmo45): deadline-align native duplex silence continuation (#7059)

Signed-off-by: Tiagosf00 <tiagotsf2000@gmail.com>
This commit is contained in:
Tiago de Souza Fernandes authored and GitHub committed 2026-09-17 05:26:34 -07:00
1 parent d0755b5716
commit 5b22f5562f
8 files changed
+580 -17

No files matched your search

@@ -53,8 +53,11 @@ class AppendAttempt:
retained_committed_payload: dict[str, object] | None
#: Response reserved before submission, to be failed if submission does not happen.
precreated_response_id: str | None
#: Commits timing state once the runtime accepts the append (before any
#: returned output event can clear the continuation chain).
on_append_accepted: Callable[[float], None] | None = None
#: Last chance to call the append off, checked once the predecessor is done.
before_append: Callable[[], bool] | None
before_append: Callable[[], bool] | None = None
# ------------------------------------------------------------------ #
# Compensation #
@@ -140,6 +143,7 @@ class AppendAttempt:
),
final=self.final,
expected_epoch=self.epoch,
on_append_accepted=self.on_append_accepted,
)
if append_ok:
model_state.context_locked = True