fix(multimodal): reconnect websocket with fresh auth

This commit is contained in:
chenjintao
2026-08-12 10:30:47 +08:00
parent 7a4699ea68
commit 273550b28b
5 changed files with 31 additions and 3 deletions
@@ -754,8 +754,8 @@ static esp_err_t start_websocket_client_with_fallback(void)
.headers = s_headers,
.network_timeout_ms = CONFIG_MULTIMODAL_CONNECT_TIMEOUT_MS,
.reconnect_timeout_ms = CONFIG_MULTIMODAL_RECONNECT_DELAY_MS,
.disable_auto_reconnect = false,
.enable_close_reconnect = true,
.disable_auto_reconnect = true,
.enable_close_reconnect = false,
.task_stack = candidates[i],
.task_prio = CONFIG_MULTIMODAL_WEBSOCKET_TASK_PRIORITY,
.task_name = "multimodal_ws",