Package: @effect/ai-anthropic
Module: AnthropicConfig
Runs an effect with an AnthropicConfig override that transforms the underlying HttpClient used by generated Anthropic requests.
When to use
Use when you need to apply a temporary HttpClient transformation, such as adding middleware or logging, to a
specific scope of an effectful program.
Signature
declare const withClientTransform: { (transform: (client: HttpClient) => HttpClient): <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>; <A, E, R>(self: Effect.Effect<A, E, R>, transform: (client: HttpClient) => HttpClient): Effect.Effect<A, E, R>; }
Since v4.0.0