* Check if a server string represents a local model
(server: string)
| 761 | * Check if a server string represents a local model |
| 762 | */ |
| 763 | public isLocalModel(server: string): boolean { |
| 764 | return server === ModelManager.BROWSER_LOCAL |
| 765 | || server === ModelManager.LLAMA_CPP_LOCAL |
| 766 | || server === ModelManager.SKIP_MODEL; |
| 767 | } |
| 768 | |
| 769 | /** |
| 770 | * Subscribe to model list changes |
no outgoing calls
no test coverage detected