MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / getProxyOptions

Function getProxyOptions

e2e/agent-fixtures.ts:10–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const chromeArgs = [`--disable-extensions-except=${pathToExtension}`, `--load-extension=${pathToExtension}`];
9
10function getProxyOptions() {
11 const proxy =
12 process.env.E2E_PROXY ||
13 process.env.https_proxy ||
14 process.env.http_proxy ||
15 process.env.HTTPS_PROXY ||
16 process.env.HTTP_PROXY;
17 return proxy ? { proxy: { server: proxy } } : {};
18}
19
20/** OpenAI-compatible SSE response for plain text replies */
21export function makeTextSSE(content: string): string {

Callers 1

agent-fixtures.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected