@effect/ai-anthropic 4.0.0-beta.71 → 4.0.0-beta.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,7 @@ export interface Service {
78
78
  export type MessageStreamEvent = typeof Generated.BetaMessageStartEvent.Type | typeof Generated.BetaMessageDeltaEvent.Type | typeof Generated.BetaMessageStopEvent.Type | typeof Generated.BetaContentBlockStartEvent.Type | typeof Generated.BetaContentBlockDeltaEvent.Type | typeof Generated.BetaContentBlockStopEvent.Type | typeof Generated.BetaErrorResponse.Type;
79
79
  declare const AnthropicClient_base: Context.ServiceClass<AnthropicClient, "@effect/ai-anthropic/AnthropicClient", Service>;
80
80
  /**
81
- * Service identifier for the Anthropic client.
81
+ * Service tag for the Anthropic client.
82
82
  *
83
83
  * **When to use**
84
84
  *
@@ -95,7 +95,7 @@ declare const AnthropicClient_base: Context.ServiceClass<AnthropicClient, "@effe
95
95
  export declare class AnthropicClient extends AnthropicClient_base {
96
96
  }
97
97
  /**
98
- * Configuration options for creating an Anthropic client.
98
+ * Configuration for creating an Anthropic client.
99
99
  *
100
100
  * **When to use**
101
101
  *
@@ -53,7 +53,7 @@ import * as Errors from "./internal/errors.js";
53
53
  // Service Identifier
54
54
  // =============================================================================
55
55
  /**
56
- * Service identifier for the Anthropic client.
56
+ * Service tag for the Anthropic client.
57
57
  *
58
58
  * **When to use**
59
59
  *
@@ -166,7 +166,7 @@ declare const Config_base: Context.ServiceClass<Config, "@effect/ai-anthropic/An
166
166
  readonly strictJsonSchema?: boolean | undefined | undefined;
167
167
  }>;
168
168
  /**
169
- * Configuration options for the Anthropic language model.
169
+ * Context service for Anthropic language model configuration.
170
170
  *
171
171
  * **When to use**
172
172
  *
@@ -54,7 +54,7 @@ import * as InternalUtilities from "./internal/utilities.js";
54
54
  // Configuration
55
55
  // =============================================================================
56
56
  /**
57
- * Configuration options for the Anthropic language model.
57
+ * Context service for Anthropic language model configuration.
58
58
  *
59
59
  * **When to use**
60
60
  *
@@ -1990,7 +1990,7 @@ const groupMessages = prompt => {
1990
1990
  return messages;
1991
1991
  };
1992
1992
  /**
1993
- * Checks if data is a URL (either a URL object or a URL string).
1993
+ * Checks whether data is a URL (either a URL object or a URL string).
1994
1994
  */
1995
1995
  const isUrlData = data => data instanceof URL || isUrlString(data);
1996
1996
  const isUrlString = data => typeof data === "string" && /^https?:\/\//i.test(data);