@langchain/anthropic 0.3.30 → 0.3.31
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.
- package/dist/chat_models.cjs +2 -0
- package/dist/chat_models.js +2 -0
- package/package.json +1 -1
package/dist/chat_models.cjs
CHANGED
|
@@ -635,6 +635,8 @@ class ChatAnthropicMessages extends chat_models_1.BaseChatModel {
|
|
|
635
635
|
this.streaming = fields?.streaming ?? false;
|
|
636
636
|
this.streamUsage = fields?.streamUsage ?? this.streamUsage;
|
|
637
637
|
this.thinking = fields?.thinking ?? this.thinking;
|
|
638
|
+
this.contextManagement =
|
|
639
|
+
fields?.contextManagement ?? this.contextManagement;
|
|
638
640
|
this.createClient =
|
|
639
641
|
fields?.createClient ??
|
|
640
642
|
((options) => new sdk_1.Anthropic(options));
|
package/dist/chat_models.js
CHANGED
|
@@ -632,6 +632,8 @@ export class ChatAnthropicMessages extends BaseChatModel {
|
|
|
632
632
|
this.streaming = fields?.streaming ?? false;
|
|
633
633
|
this.streamUsage = fields?.streamUsage ?? this.streamUsage;
|
|
634
634
|
this.thinking = fields?.thinking ?? this.thinking;
|
|
635
|
+
this.contextManagement =
|
|
636
|
+
fields?.contextManagement ?? this.contextManagement;
|
|
635
637
|
this.createClient =
|
|
636
638
|
fields?.createClient ??
|
|
637
639
|
((options) => new Anthropic(options));
|