diff --git a/gateway/platforms/whatsapp.py b/gateway/platforms/whatsapp.py index 0ca3d41fabbe0..b1e26ed42c85e 100644 --- a/gateway/platforms/whatsapp.py +++ b/gateway/platforms/whatsapp.py @@ -29,6 +29,7 @@ from pathlib import Path from typing import Dict, Optional, Any +from hermes_cli._subprocess_compat import windows_hide_flags from hermes_constants import get_hermes_dir logger = logging.getLogger(__name__) @@ -617,6 +618,7 @@ async def connect(self) -> bool: if self._reply_prefix is not None: bridge_env["WHATSAPP_REPLY_PREFIX"] = self._reply_prefix + _popen_kwargs = {"creationflags": windows_hide_flags()} if _IS_WINDOWS else {} self._bridge_process = subprocess.Popen( [ "node", @@ -629,6 +631,7 @@ async def connect(self) -> bool: stderr=bridge_log_fh, preexec_fn=None if _IS_WINDOWS else os.setsid, env=bridge_env, + **_popen_kwargs, ) _write_bridge_pidfile(self._session_path, self._bridge_process.pid) diff --git a/hermes_cli/main.py b/hermes_cli/main.py index 925f93e77c6b1..b08e3644a81b9 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -8349,7 +8349,7 @@ def _cmd_update_pip(args): uv = shutil.which("uv") if uv: - cmd = [uv, "pip", "install", "--upgrade", "hermes-agent"] + cmd = [uv, "pip", "install", "--system", "--upgrade", "hermes-agent"] else: cmd = [sys.executable, "-m", "pip", "install", "--upgrade", "hermes-agent"] diff --git a/hermes_cli/runtime_provider.py b/hermes_cli/runtime_provider.py index 73aa5c455712f..73b04bff71a49 100644 --- a/hermes_cli/runtime_provider.py +++ b/hermes_cli/runtime_provider.py @@ -635,7 +635,16 @@ def _resolve_named_custom_runtime( # Check credential pool first — mirrors the named-custom-provider path # so bare `provider: custom` with a configured custom_providers entry # also gets its api_key from the pool instead of env var fallbacks. - pool_result = _try_resolve_from_custom_pool(base_url, "custom", None) + # Preserve sub-name (e.g. "custom:bobapi-deepseek") for name-based pool + # lookup instead of falling back to url-only matching (#29872). + _pool_provider_name = ( + requested_provider.split(":", 1)[1] + if requested_provider and ":" in requested_provider + else None + ) + pool_result = _try_resolve_from_custom_pool( + base_url, "custom", _pool_provider_name + ) if pool_result: pool_result["source"] = "direct-alias" return pool_result diff --git a/web/src/i18n/context.tsx b/web/src/i18n/context.tsx index e31ffa65050e0..1945f883318a5 100644 --- a/web/src/i18n/context.tsx +++ b/web/src/i18n/context.tsx @@ -44,7 +44,7 @@ const TRANSLATIONS: Record = { export const LOCALE_META: Record = { en: { name: "English", flagCountryCode: "gb" }, zh: { name: "简体中文", flagCountryCode: "cn" }, - "zh-hant": { name: "繁體中文", flagCountryCode: "tw" }, + "zh-hant": { name: "繁體中文", flagCountryCode: "cn" }, ja: { name: "日本語", flagCountryCode: "jp" }, de: { name: "Deutsch", flagCountryCode: "de" }, es: { name: "Español", flagCountryCode: "es" },