I got feedback that the VS Code tab in OpenHands o...
# proj-agent-canvas
a
I got feedback that the VS Code tab in OpenHands opens with GitHub Copilot Chat visible. I verified on Enterprise that we can hide it by default with a VS Code setting. Should we make that the default across OpenHands, or start with Enterprise only?
c
I think we should hide it by default everywhere.
c
😂 I think everywhere, yes, thank you!
a
I think the key is using: For everyone by default on a self-hosted OpenHands deployment, I’d preconfigure VScode
"chat.disableAIFeatures"
Can we summon the bot to create the PR for this?
c
@fresh-machine-37269 I seem to recall these initial settings were set in agent-sdk repo, though I’m not sure if that’s still the case and maybe there’s anything in openhands repo. please make a PR with this setting.
👀 1
f
🤖 On it! View progress here: oss-agent-canvas.ngrok.dev/conversations/…
c
of course! lets see if it figures it out right
f
✅ Done! Done! 🎉 PR is up: github.com/OpenHands/software-agent-sdk/pull/7262 To answer your question: yes, it's still the agent-sdk repo (now
OpenHands/software-agent-sdk
) that owns this. The bundled VS Code tab is code-server launched by the agent-server, and the OpenHands frontend just opens the editor URL the agent-server reports — there was nothing to change in the OpenHands repo. What the PR does: • Seeds the editor's
User/settings.json
with
"chat.disableAIFeatures": true
before code-server starts, in
code_server_proxy.cjs
— so Copilot Chat is hidden by default everywhere (self-hosted, Enterprise, Agent Canvas), per the thread's decision • Respects explicit user choices: if the file already sets
chat.disableAIFeatures
(e.g. to
false
), it's left as-is; other existing settings are merged, not replaced; JSONC files with comments are never rewritten • Adds tests (
tests/agent_server/test_code_server_proxy_settings.py
) that run the real proxy script against a fake code-server binary — all 4 new tests plus the 47 existing VS Code service tests pass
c
@fresh-machine-37269 please fix CI properly, by the rules, for 7262 on sdk
👀 1
f
🤖 On it! View progress here: oss-agent-canvas.ngrok.dev/conversations/…
⏳ Still working — this is taking longer than this run allows. Follow along at the link above; mention me again for an update.