@langchain/together-ai 0.2.1 → 0.2.2
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/CHANGELOG.md +7 -0
- package/dist/chat_models.cjs +1 -1
- package/dist/chat_models.js +1 -1
- package/dist/llms.cjs +1 -1
- package/dist/llms.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @langchain/together-ai
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`05936ab`](https://github.com/langchain-ai/langchainjs/commit/05936ab45ce1bbb04b955c3ebdd03dc1451b655c), [`798cb70`](https://github.com/langchain-ai/langchainjs/commit/798cb705222f43759e94d02a790ebb706ef2f099), [`80c790b`](https://github.com/langchain-ai/langchainjs/commit/80c790b593ad19668f1101f84f06c175db114909)]:
|
|
8
|
+
- @langchain/openai@1.5.2
|
|
9
|
+
|
|
3
10
|
## 0.2.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/chat_models.cjs
CHANGED
|
@@ -58,7 +58,7 @@ var ChatTogetherAI = class extends _langchain_openai.ChatOpenAICompletions {
|
|
|
58
58
|
...fields?.configuration
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
this._addVersion("@langchain/together-ai", "0.2.
|
|
61
|
+
this._addVersion("@langchain/together-ai", "0.2.2");
|
|
62
62
|
}
|
|
63
63
|
getLsParams(options) {
|
|
64
64
|
const params = super.getLsParams(options);
|
package/dist/chat_models.js
CHANGED
|
@@ -58,7 +58,7 @@ var ChatTogetherAI = class extends ChatOpenAICompletions {
|
|
|
58
58
|
...fields?.configuration
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
this._addVersion("@langchain/together-ai", "0.2.
|
|
61
|
+
this._addVersion("@langchain/together-ai", "0.2.2");
|
|
62
62
|
}
|
|
63
63
|
getLsParams(options) {
|
|
64
64
|
const params = super.getLsParams(options);
|
package/dist/llms.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var TogetherAI = class extends _langchain_core_language_models_llms.LLM {
|
|
|
43
43
|
}
|
|
44
44
|
constructor(inputs) {
|
|
45
45
|
super(inputs);
|
|
46
|
-
this._addVersion("@langchain/together-ai", "0.2.
|
|
46
|
+
this._addVersion("@langchain/together-ai", "0.2.2");
|
|
47
47
|
const apiKey = inputs.apiKey ?? (0, _langchain_core_utils_env.getEnvironmentVariable)("TOGETHER_AI_API_KEY");
|
|
48
48
|
if (!apiKey) throw new Error("TOGETHER_AI_API_KEY not found.");
|
|
49
49
|
if (!inputs.model && !inputs.modelName) throw new Error("Model name is required for TogetherAI.");
|
package/dist/llms.js
CHANGED
|
@@ -43,7 +43,7 @@ var TogetherAI = class extends LLM {
|
|
|
43
43
|
}
|
|
44
44
|
constructor(inputs) {
|
|
45
45
|
super(inputs);
|
|
46
|
-
this._addVersion("@langchain/together-ai", "0.2.
|
|
46
|
+
this._addVersion("@langchain/together-ai", "0.2.2");
|
|
47
47
|
const apiKey = inputs.apiKey ?? getEnvironmentVariable("TOGETHER_AI_API_KEY");
|
|
48
48
|
if (!apiKey) throw new Error("TOGETHER_AI_API_KEY not found.");
|
|
49
49
|
if (!inputs.model && !inputs.modelName) throw new Error("Model name is required for TogetherAI.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/together-ai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Together AI integrations for LangChain.js",
|
|
5
5
|
"author": "LangChain",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-together-ai/",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@langchain/openai": "1.5.
|
|
17
|
+
"@langchain/openai": "1.5.2"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@langchain/core": "^1.0.0"
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"typescript": "~6.0.3",
|
|
28
28
|
"vitest": "^4.1.8",
|
|
29
29
|
"zod": "^3.25.76 || ^4",
|
|
30
|
-
"@langchain/
|
|
31
|
-
"@langchain/
|
|
30
|
+
"@langchain/openai": "^1.5.2",
|
|
31
|
+
"@langchain/core": "^1.2.1",
|
|
32
32
|
"@langchain/standard-tests": "0.0.23",
|
|
33
33
|
"@langchain/tsconfig": "0.0.1"
|
|
34
34
|
},
|