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

Method addServer

app/src/utils/ModelManager.ts:332–336  ·  view source on GitHub ↗

* Add an inference server address

(address: string)

Source from the content-addressed store, hash-verified

330 * Add an inference server address
331 */
332 public addServer(address: string): void {
333 if (!this.inferenceAddresses.includes(address)) {
334 this.inferenceAddresses.push(address);
335 }
336 }
337
338 /**
339 * Remove an inference server address

Callers 3

toggleCustomServerMethod · 0.95
addInferenceAddressFunction · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected