Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix: clear stored message ID when splitting to avoid stale edits

cyhhao1cfea5408898
diff --git a/core/controller.py b/core/controller.py
index 1ba97d94c..42e12e934 100644
--- a/core/controller.py
+++ b/core/controller.py
@@ -465,7 +465,9 @@ class Controller:
# Don't lstrip() - preserve intentional indentation in code blocks
sent_chars = len(first_part) - len(continuation_notice)
updated = updated[sent_chars:]
+ # Clear both local var and stored ID to avoid editing old message on failure
existing_message_id = None
+ self._consolidated_message_ids.pop(consolidated_key, None)
logger.info(
"Log Message chunk exceeded %d bytes, split and continuing",
max_bytes,