Files
OpenHands/src
Tim O'Farrellandopenhands fc450ef0e9 fix: make load_public_skills default to true (opt-out) (#901)
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>
2026-05-28 12:52:58 -06:00
..