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

Function effect

packages/llm/src/route/auth.ts:94–94  ·  view source on GitHub ↗
(load: Effect.Effect<Redacted.Redacted, CredentialError>)

Source from the content-addressed store, hash-verified

92export const config = (name: string) => credentialFromSecret(Config.redacted(name), name)
93
94export const effect = (load: Effect.Effect<Redacted.Redacted, CredentialError>) => credential(load)
95
96export const none = auth((input) => Effect.succeed(input.headers))
97

Callers

nothing calls this directly

Calls 1

credentialFunction · 0.70

Tested by

no test coverage detected