fix: demote RTP debug logs to DEBUG and isolate web sessions

- Change RTP packet logging from INFO to DEBUG level to reduce noise
  (SPEAKING events remain at INFO as they are important lifecycle events)
- Use per-session chat_id (web_{session_id}) instead of shared "web"
  to isolate conversation context between simultaneous web users
This commit is contained in:
0xbyt4 2026-03-13 17:31:00 +03:00
parent fa2c825e2f
commit c433c89d7d
2 changed files with 5 additions and 5 deletions

View file

@ -408,7 +408,7 @@ class WebAdapter(BasePlatformAdapter):
msg_type = MessageType.COMMAND if text.startswith("/") else MessageType.TEXT
source = self.build_source(
chat_id="web",
chat_id=f"web_{session_id}",
chat_name="Web Chat",
chat_type="dm",
user_id=session_id,
@ -466,7 +466,7 @@ class WebAdapter(BasePlatformAdapter):
# Process as voice message
source = self.build_source(
chat_id="web",
chat_id=f"web_{session_id}",
chat_name="Web Chat",
chat_type="dm",
user_id=session_id,