* 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.
()
| 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); |