* Check if a server string represents a local model
(server: string)
| 705 | * Check if a server string represents a local model |
| 706 | */ |
| 707 | public isLocalModel(server: string): boolean { |
| 708 | return server === ModelManager.BROWSER_LOCAL |
| 709 | || server === ModelManager.LLAMA_CPP_LOCAL |
| 710 | || server === ModelManager.SKIP_MODEL; |
| 711 | } |
| 712 | |
| 713 | /** |
| 714 | * Subscribe to model list changes |
no outgoing calls
no test coverage detected