MCPcopy Create free account
hub / github.com/anomalyco/opencode / isSensitiveQueryName

Function isSensitiveQueryName

packages/llm/src/route/executor.ts:58–58  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

56const isSensitiveHeaderName = (name: string) => SENSITIVE_NAME.test(name)
57
58const isSensitiveQueryName = (name: string) => isSensitiveHeaderName(name) || SHORT_QUERY_NAME.test(name)
59
60const redactHeaders = (headers: Headers.Headers, redactedNames: ReadonlyArray<string | RegExp>) =>
61 Object.fromEntries(

Callers 2

redactUrlFunction · 0.85
secretValuesFunction · 0.85

Calls 1

isSensitiveHeaderNameFunction · 0.85

Tested by

no test coverage detected