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.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
refactor(settings): simplify normalization by not handling legacy int keys\n\n- Normalize user_id to string only; drop legacy int key migration logic for simplicity
cyhhao8cc8a071a792
diff --git a/modules/settings_manager.py b/modules/settings_manager.pyindex 56f45f60b..0cf54916a 100644--- a/modules/settings_manager.py+++ b/modules/settings_manager.py@@ -43,7 +43,7 @@ class SettingsManager:# ---------------------------------------------def _normalize_user_id(self, user_id: Union[int, str]) -> str:"""Normalize user_id consistently to string.-+Rationale: JSON object keys are strings; Slack IDs are strings; unifying tostring avoids mixed-type keys (e.g., 123 vs "123")."""@@ -116,7 +116,10 @@ class SettingsManager:# Remove legacy int key if existstry:int_form = int(normalized_id)- if int_form in self.settings and self.settings.get(normalized_id) is not self.settings[int_form]:+ if (+ int_form in self.settings+ and self.settings.get(normalized_id) is not self.settings[int_form]+ ):del self.settings[int_form]except Exception:pass