MCPcopy Create free account
hub / github.com/langgenius/dify / defaultProbe

Function defaultProbe

cli/src/version/probe.ts:54–57  ·  view source on GitHub ↗
(endpoint)

Source from the content-addressed store, hash-verified

52}
53
54const defaultProbe: MetaProbe = async (endpoint) => {
55 const http = createHttpClient({ baseURL: openAPIBase(endpoint), timeoutMs: META_PROBE_TIMEOUT_MS, retryAttempts: 0 })
56 return new MetaClient(http).serverVersion()
57}
58
59function buildClientBlock(): ClientBlock {
60 return {

Callers

nothing calls this directly

Calls 3

createHttpClientFunction · 0.90
openAPIBaseFunction · 0.90
serverVersionMethod · 0.80

Tested by

no test coverage detected