Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: dummy func for web version

Vanalite04f2c24ee781
diff --git a/web-app/src/services/mcp/web.ts b/web-app/src/services/mcp/web.ts
index c23283951..31494fc0a 100644
--- a/web-app/src/services/mcp/web.ts
+++ b/web-app/src/services/mcp/web.ts
@@ -273,6 +273,11 @@ export class WebMCPService implements MCPService {
}
}
+ async checkJanBrowserExtensionConnected(): Promise<boolean> {
+ // Jan Browser Extension is not supported on web platform
+ return false
+ }
+
private generateCancellationToken(): string {
return `mcp_cancel_${Date.now()}_${Math.random().toString(36).substring(2, 11)}`
}