MCPcopy Create free account
hub / github.com/Roy3838/Observer / hasUserServer

Method hasUserServer

app/src/utils/ModelManager.ts:464–467  ·  view source on GitHub ↗

* True if the user has a verified, enabled custom inference server (not Observer Cloud). * Used to gate the "skip sign in" option on the startup dialog.

()

Source from the content-addressed store, hash-verified

462 * Used to gate the "skip sign in" option on the startup dialog.
463 */
464 public hasUserServer(): boolean {
465 return this.customServers.some(s =>
466 s.enabled && s.status === 'online' && !s.address.includes('api.observer-ai.com'));
467 }
468
469 public async checkCustomServer(address: string): Promise<{ status: 'online' | 'offline'; error?: string }> {
470 const result = await this.checkServer(address);

Callers 1

AppContentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected