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

Method addServer

app/src/utils/ModelManager.ts:347–351  ·  view source on GitHub ↗

* Add an inference server address

(address: string)

Source from the content-addressed store, hash-verified

345 * Add an inference server address
346 */
347 public addServer(address: string): void {
348 if (!this.inferenceAddresses.includes(address)) {
349 this.inferenceAddresses.push(address);
350 }
351 }
352
353 /**
354 * Remove an inference server address

Callers 4

toggleCustomServerMethod · 0.95
addInferenceAddressFunction · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected