Frontmatter
| id | 8463 |
| title | Disable Neural Link on GitHub Pages |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Jan 9, 2026, 1:28 PM |
| updatedAt | Jan 9, 2026, 1:30 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8463 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 9, 2026, 1:30 PM |
Disable Neural Link on GitHub Pages
tobiu assigned to @tobiu on Jan 9, 2026, 1:29 PM

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.mjsnow checksconfig.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
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.mjsto check theisGitHubPagesconfig. Ifconfig.isGitHubPagesis true, the AI Client should not be initialized, regardless of theuseAiClientsetting.Current Logic:
if (config.useAiClient) { ... }Proposed Logic:
if (config.useAiClient && !config.isGitHubPages) { ... }