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(settings): default show_message_types to ["assistant"] for new channels/users

cyhhao5434f4d370f5
diff --git a/config/v2_settings.py b/config/v2_settings.py
index 0063efde5..743e97b0a 100644
--- a/config/v2_settings.py
+++ b/config/v2_settings.py
@@ -12,7 +12,7 @@ from config import paths
logger = logging.getLogger(__name__)
-DEFAULT_SHOW_MESSAGE_TYPES: List[str] = []
+DEFAULT_SHOW_MESSAGE_TYPES: List[str] = ["assistant"]
ALLOWED_MESSAGE_TYPES = {"system", "assistant", "toolcall"}
SCHEMA_VERSION = 3
SCOPED_KEY_SEP = "::"
diff --git a/modules/settings_manager.py b/modules/settings_manager.py
index 14a2bfca5..8f69eac47 100644
--- a/modules/settings_manager.py
+++ b/modules/settings_manager.py
@@ -13,7 +13,7 @@ from modules.sessions_facade import SessionsFacade
logger = logging.getLogger(__name__)
-DEFAULT_SHOW_MESSAGE_TYPES: List[str] = []
+DEFAULT_SHOW_MESSAGE_TYPES: List[str] = ["assistant"]
ChannelRouting = RoutingSettings
diff --git a/scripts/prepare_three_regression.py b/scripts/prepare_three_regression.py
index c0bcd4b7a..f64631d91 100755
--- a/scripts/prepare_three_regression.py
+++ b/scripts/prepare_three_regression.py
@@ -221,7 +221,7 @@ def _build_settings_payload(service_name: str) -> dict:
if channel_id:
channel_scope[channel_id] = {
"enabled": True,
- "show_message_types": [],
+ "show_message_types": ["assistant"],
"custom_cwd": _service_default_cwd(service_name),
"routing": routing,
"require_mention": _parse_bool(
diff --git a/ui/src/components/steps/ChannelList.tsx b/ui/src/components/steps/ChannelList.tsx
index 586a8cbcc..6988d66dc 100644
--- a/ui/src/components/steps/ChannelList.tsx
+++ b/ui/src/components/steps/ChannelList.tsx
@@ -394,7 +394,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
const defaultConfig = (): ChannelConfig => ({
enabled: false,
- show_message_types: [],
+ show_message_types: ['assistant'],
custom_cwd: '',
routing: {
agent_backend: null,
diff --git a/ui/src/components/steps/UserList.tsx b/ui/src/components/steps/UserList.tsx
index 4fc9bd841..77c6bdf1a 100644
--- a/ui/src/components/steps/UserList.tsx
+++ b/ui/src/components/steps/UserList.tsx
@@ -443,7 +443,7 @@ export const UserList: React.FC = () => {
is_admin: false,
bound_at: '',
enabled: true,
- show_message_types: [],
+ show_message_types: ['assistant'],
custom_cwd: '',
routing: {
agent_backend: null,