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.

feat: add 👀 reaction after user answers question

cyhhao502f576f29d6
diff --git a/modules/agents/opencode/question_handler.py b/modules/agents/opencode/question_handler.py
index eda6302f3..a0be43031 100644
--- a/modules/agents/opencode/question_handler.py
+++ b/modules/agents/opencode/question_handler.py
@@ -389,6 +389,15 @@ class OpenCodeQuestionHandler:
)
return
+ # Add 👀 reaction to question message to indicate answer received
+ if question_message_id and hasattr(self._im_client, "add_reaction"):
+ try:
+ await self._im_client.add_reaction(
+ request.context, question_message_id, "eyes"
+ )
+ except Exception as err:
+ logger.debug(f"Failed to add reaction to question message: {err}")
+
evt = self._question_answer_events.get(request.base_session_id)
if evt:
evt.set()