LearnNewsExamplesServices
Frontmatter
id8463
titleDisable Neural Link on GitHub Pages
stateClosed
labels
bugai
assigneestobiu
createdAtJan 9, 2026, 1:28 PM
updatedAtJan 9, 2026, 1:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/8463
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 9, 2026, 1:30 PM

Disable Neural Link on GitHub Pages

Closed v11.19.1 bugai
tobiu
tobiu commented on Jan 9, 2026, 1:28 PM

The Neural Link (AI Client) currently attempts to connect even when the application is deployed to GitHub Pages, where the WebSocket server is unavailable. This causes unnecessary connection errors.

We need to update the logic in src/worker/App.mjs to check the isGitHubPages config. If config.isGitHubPages is true, the AI Client should not be initialized, regardless of the useAiClient setting.

Current Logic:

if (config.useAiClient) { ... }

Proposed Logic:

if (config.useAiClient && !config.isGitHubPages) { ... }
tobiu added the bug label on Jan 9, 2026, 1:28 PM
tobiu added the ai label on Jan 9, 2026, 1:28 PM
tobiu referenced in commit 3b11b91 - "fix: Disable Neural Link on GitHub Pages (#8463)" on Jan 9, 2026, 1:29 PM
tobiu assigned to @tobiu on Jan 9, 2026, 1:29 PM
tobiu
tobiu Jan 9, 2026, 1:29 PM

Input from Gemini 3 Pro:

✦ I have implemented the fix. The Neural Link (AI Client) initialization logic in src/worker/App.mjs now checks config.isGitHubPages. If this flag is true, the client will not attempt to connect, preventing errors in environments without a WebSocket server.

Commit: 3b11b9181 (#8463)

tobiu closed this issue on Jan 9, 2026, 1:30 PM