refactor: route media and chat module settings through runtime

This commit is contained in:
jxxghp
2026-08-23 03:09:59 +08:00
parent 4098cc1eec
commit ac32adc7b6
8 changed files with 24 additions and 17 deletions
+3 -1
View File
@@ -50,7 +50,9 @@ from lark_oapi.event.callback.model.p2_card_action_trigger import (
P2CardActionTriggerResponse,
)
from app.runtime.config import settings
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()
from app.domain.context import Context, MediaInfo
from app.application.security.user import get_configured_user_channel_lookup
from app.application.messaging.agent import matches_channel_admin