Skip to content

Commit 0a8c0e7

Browse files
authored
fix: anthropic tag name (#4899)
1 parent d45e8a8 commit 0a8c0e7

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/heavy-avocados-matter.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@effect/ai-anthropic": patch
3+
---
4+
5+
fix: anthropic tag name

packages/ai/anthropic/src/AnthropicClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const constDisableValidation = { disableValidation: true } as const
3030
* @category Context
3131
*/
3232
export class AnthropicClient extends Context.Tag(
33-
"@effect/ai-openai/AnthropicClient"
33+
"@effect/ai-anthropic/AnthropicClient"
3434
)<AnthropicClient, AnthropicClient.Service>() {}
3535

3636
/**

packages/ai/anthropic/src/AnthropicConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { dual } from "effect/Function"
1010
* @since 1.0.0
1111
* @category Context
1212
*/
13-
export class AnthropicConfig extends Context.Tag("@effect/ai-openai/AnthropicConfig")<
13+
export class AnthropicConfig extends Context.Tag("@effect/ai-anthropic/AnthropicConfig")<
1414
AnthropicConfig,
1515
AnthropicConfig.Service
1616
>() {

packages/ai/anthropic/src/AnthropicLanguageModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const make = Effect.gen(function*() {
141141
if (Predicate.isUndefined(model)) {
142142
return yield* Effect.die(
143143
new AiError({
144-
module: "OpenAiLanguageModel",
144+
module: "AnthropicLanguageModel",
145145
method,
146146
description: "No `model` specified for request"
147147
})

0 commit comments

Comments
 (0)