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

Function custom

packages/llm/src/route/auth.ts:103–103  ·  view source on GitHub ↗
(apply: (input: AuthInput) => Effect.Effect<Headers.Headers, LLMError>)

Source from the content-addressed store, hash-verified

101export const remove = (name: string) => auth((input) => Effect.succeed(Headers.remove(input.headers, name)))
102
103export const custom = (apply: (input: AuthInput) => Effect.Effect<Headers.Headers, LLMError>) => auth(apply)
104
105export const passthrough = none
106

Callers 1

QuestionPromptFunction · 0.50

Calls 1

authFunction · 0.70

Tested by

no test coverage detected