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:
parent
fa2c825e2f
commit
c433c89d7d
2 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue