mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-29 14:02:19 +00:00
Normalize `backend_url` before it reaches `IntegrationClient` so inference-style paths (e.g. `/openai/v1/chat/completions`) cannot produce broken composio URLs. Three-layer fix: 1. `effective_backend_api_url` env-fallback branch now calls `normalize_backend_api_base_url` (same as the override branch) 2. `normalize_backend_api_base_url` handles scheme-less inputs with `https://` fallback retry 3. `IntegrationClient::new` defense-in-depth sanitization with redacted `warn!` log on fixup Closes #2075