MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / getApiUrls

Function getApiUrls

packages/baseai/src/deploy/index.ts:237–242  ·  view source on GitHub ↗
(pipeName: string)

Source from the content-addressed store, hash-verified

235}
236
237function getApiUrls(pipeName: string) {
238 return {
239 createUrl: `https://api.langbase.com/v1/pipes`,
240 updateUrl: `https://api.langbase.com/v1/pipes/${pipeName}`
241 };
242}
243
244async function upsertPipe({ pipe, account }: { pipe: Pipe; account: Account }) {
245 const { createUrl } = getApiUrls(pipe.name);

Callers 1

upsertPipeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected