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

Method isLocalModel

app/src/utils/ModelManager.ts:763–767  ·  view source on GitHub ↗

* Check if a server string represents a local model

(server: string)

Source from the content-addressed store, hash-verified

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

Callers 4

listModelsMethod · 0.95
sendPromptMethod · 0.95
sendMessagesMethod · 0.95
sendToolMessagesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected