File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
packages/ai/anthropic/src Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 3
3
*/
4
4
import * as AiError from "@effect/ai/AiError"
5
5
import * as AiInput from "@effect/ai/AiInput"
6
- import * as AiModels from "@effect/ai/AiModels"
7
6
import * as AiResponse from "@effect/ai/AiResponse"
8
7
import * as Sse from "@effect/experimental/Sse"
9
8
import * as HttpBody from "@effect/platform/HttpBody"
@@ -313,10 +312,10 @@ export const layer = (options: {
313
312
client : HttpClient . HttpClient
314
313
) => HttpClient . HttpClient
315
314
} ) : Layer . Layer <
316
- AiModels . AiModels | AnthropicClient ,
315
+ AnthropicClient ,
317
316
never ,
318
317
HttpClient . HttpClient
319
- > => Layer . merge ( AiModels . layer , Layer . effect ( AnthropicClient , make ( options ) ) )
318
+ > => Layer . effect ( AnthropicClient , make ( options ) )
320
319
321
320
/**
322
321
* @since 1.0.0
@@ -332,14 +331,13 @@ export const layerConfig = (
332
331
) => HttpClient . HttpClient
333
332
} >
334
333
) : Layer . Layer <
335
- AiModels . AiModels | AnthropicClient ,
334
+ AnthropicClient ,
336
335
ConfigError ,
337
336
HttpClient . HttpClient
338
337
> =>
339
338
Config . unwrap ( options ) . pipe (
340
339
Effect . flatMap ( make ) ,
341
- Layer . effect ( AnthropicClient ) ,
342
- Layer . merge ( AiModels . layer )
340
+ Layer . effect ( AnthropicClient )
343
341
)
344
342
345
343
/**
You can’t perform that action at this time.
0 commit comments