MCPcopy
hub / github.com/promptfoo/promptfoo / getShareViewBaseUrl

Function getShareViewBaseUrl

src/constants.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22// This is used for creating shared eval links.
23export function getShareViewBaseUrl(): string {
24 return getEnvString('PROMPTFOO_REMOTE_APP_BASE_URL') || getDefaultShareViewBaseUrl();
25}
26
27export function getDefaultPort(): number {
28 return getEnvInt('API_PORT', 15500);

Callers 3

constants.test.tsFile · 0.90
getShareableUrlFunction · 0.90

Calls 2

getEnvStringFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…