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

Method isLocalModel

app/src/utils/ModelManager.ts:707–711  ·  view source on GitHub ↗

* Check if a server string represents a local model

(server: string)

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected