mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-07 16:58:14 +08:00
PR #229 flipped shouldLoadPublicSkills() from opt-out (default true) to opt-in (default false) for dev-latency reasons. PR #362 patched the conversation-start path by hardcoding load_public_skills: true, but that fix was inadvertently lost in the #457 refactor which reintroduced shouldLoadPublicSkills() inside the new buildAgentContext() helper. This restores the original opt-out semantics: - shouldLoadPublicSkills() now returns true unless VITE_LOAD_PUBLIC_SKILLS is explicitly set to "false" - .env.sample updated to document the opt-out form - Tests updated to match the new default - AGENTS.md updated (it already said "defaults to true" but the code disagreed — now they agree) Co-authored-by: openhands <openhands@all-hands.dev>