@langchain/anthropic 0.0.7 → 0.0.9
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.d.ts +0 -2
- package/package.json +3 -4
package/dist/chat_models.d.ts
CHANGED
|
@@ -123,7 +123,6 @@ export declare class ChatAnthropicMessages<CallOptions extends BaseLanguageModel
|
|
|
123
123
|
temperature?: number | undefined;
|
|
124
124
|
top_k?: number | undefined;
|
|
125
125
|
top_p?: number | undefined;
|
|
126
|
-
'x-api-key'?: string | undefined;
|
|
127
126
|
model_name: string;
|
|
128
127
|
};
|
|
129
128
|
/**
|
|
@@ -139,7 +138,6 @@ export declare class ChatAnthropicMessages<CallOptions extends BaseLanguageModel
|
|
|
139
138
|
temperature?: number | undefined;
|
|
140
139
|
top_k?: number | undefined;
|
|
141
140
|
top_p?: number | undefined;
|
|
142
|
-
'x-api-key'?: string | undefined;
|
|
143
141
|
model_name: string;
|
|
144
142
|
};
|
|
145
143
|
_streamResponseChunks(messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMRun): AsyncGenerator<ChatGenerationChunk>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/anthropic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Anthropic integrations for LangChain.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm",
|
|
26
26
|
"clean": "rimraf .turbo/ dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre",
|
|
27
27
|
"prepack": "yarn build",
|
|
28
|
-
"release": "release-it --only-version --config .release-it.json",
|
|
29
28
|
"test": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%",
|
|
30
29
|
"test:watch": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
|
|
31
30
|
"test:single": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000",
|
|
@@ -35,8 +34,8 @@
|
|
|
35
34
|
"author": "LangChain",
|
|
36
35
|
"license": "MIT",
|
|
37
36
|
"dependencies": {
|
|
38
|
-
"@anthropic-ai/sdk": "^0.
|
|
39
|
-
"@langchain/core": "~0.1.
|
|
37
|
+
"@anthropic-ai/sdk": "^0.12.0",
|
|
38
|
+
"@langchain/core": "~0.1.5"
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
41
|
"@jest/globals": "^29.5.0",
|