MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / createRuntimeNodeServer

Function createRuntimeNodeServer

projects/runtime-node/src/server.ts:129–134  ·  view source on GitHub ↗
(options: RuntimeNodeServerOptions)

Source from the content-addressed store, hash-verified

127}
128
129export function createRuntimeNodeServer(options: RuntimeNodeServerOptions): RuntimeServer {
130 return new RuntimeServer({
131 ...options,
132 livenessProbe: options.livenessProbe ?? createRuntimeNodeLivenessProbe(),
133 })
134}
135
136export async function serveRuntimeNodeHttp(options: RuntimeNodeHttpServerOptions = {}): Promise<RuntimeNodeHttpServer> {
137 const host = options.host ?? "127.0.0.1"

Callers 2

startRuntimeNodeServeFunction · 0.90
serveRuntimeNodeHttpFunction · 0.85

Calls 1

Tested by

no test coverage detected