MCPcopy Index your code
hub / github.com/langgenius/dify / makeClient

Function makeClient

cli/src/api/apps.test.ts:11–13  ·  view source on GitHub ↗
(host: string)

Source from the content-addressed store, hash-verified

9const DESCRIBE_BODY = { info: { id: 'app-1', name: 'Demo', mode: 'chat', service_api_enabled: true } }
10
11function makeClient(host: string): AppsClient {
12 return new AppsClient(testHttpClient(host, 'dfoa_test'))
13}
14
15function queryOf(url: string | undefined): URLSearchParams {
16 return new URL(url ?? '', 'http://x').searchParams

Callers 1

apps.test.tsFile · 0.70

Calls 1

testHttpClientFunction · 0.90

Tested by

no test coverage detected