MCPcopy
hub / github.com/promptfoo/promptfoo / getDefaultPort

Function getDefaultPort

src/constants.ts:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27export function getDefaultPort(): number {
28 return getEnvInt('API_PORT', 15500);
29}
30
31// Maximum width for terminal outputs.
32export const TERMINAL_MAX_WIDTH =

Callers 15

constants.test.tsFile · 0.90
evalSetup.test.tsFile · 0.90
view.test.tsFile · 0.90
init.test.tsFile · 0.90
setup.test.tsFile · 0.90
server.test.tsFile · 0.90
viewCommandFunction · 0.90
evalSetupCommandFunction · 0.90
redteamReportCommandFunction · 0.90
initCommandFunction · 0.90
redteamSetupCommandFunction · 0.90
mainFunction · 0.90

Calls 1

getEnvIntFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…