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(config): allow empty slack token for initial setup

cyhhaoc540ba6fd938
diff --git a/config/v2_config.py b/config/v2_config.py
index 4401aef0e..d0af90b85 100644
--- a/config/v2_config.py
+++ b/config/v2_config.py
@@ -21,7 +21,8 @@ class SlackConfig(BaseIMConfig):
require_mention: bool = False
def validate(self) -> None:
- if not self.bot_token or not self.bot_token.startswith("xoxb-"):
+ # Allow empty token for initial setup
+ if self.bot_token and not self.bot_token.startswith("xoxb-"):
raise ValueError("Invalid Slack bot token format (should start with xoxb-)")
if self.app_token and not self.app_token.startswith("xapp-"):
raise ValueError("Invalid Slack app token format (should start with xapp-)")