Spaces:
Sleeping
Sleeping
Commit ·
3b246a2
1
Parent(s): 55c453c
更新 app.py
Browse files
app.py
CHANGED
|
@@ -934,8 +934,6 @@ async def websocket_endpoint_with_jwt(websocket: WebSocket, token: str = Query(N
|
|
| 934 |
except Exception as e:
|
| 935 |
logger.error(f"處理 env_snapshot 失敗: {e}")
|
| 936 |
await websocket.send_json({"type": "env_ack", "success": False, "error": str(e)})
|
| 937 |
-
|
| 938 |
-
elif message_type == "chat_focus":
|
| 939 |
elif message_type == "chat_focus":
|
| 940 |
try:
|
| 941 |
cid = message_data.get("chat_id")
|
|
|
|
| 934 |
except Exception as e:
|
| 935 |
logger.error(f"處理 env_snapshot 失敗: {e}")
|
| 936 |
await websocket.send_json({"type": "env_ack", "success": False, "error": str(e)})
|
|
|
|
|
|
|
| 937 |
elif message_type == "chat_focus":
|
| 938 |
try:
|
| 939 |
cid = message_data.get("chat_id")
|