@langchain/together-ai 0.2.3 → 0.2.4

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @langchain/together-ai
2
2
 
3
+ ## 0.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`988ca7d`](https://github.com/langchain-ai/langchainjs/commit/988ca7dc9f1debd48278c6e888553e11c7845ca3)]:
8
+ - @langchain/openai@1.5.4
9
+
3
10
  ## 0.2.3
4
11
 
5
12
  ### Patch Changes
@@ -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.3");
61
+ this._addVersion("@langchain/together-ai", "0.2.4");
62
62
  }
63
63
  getLsParams(options) {
64
64
  const params = super.getLsParams(options);
@@ -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.3");
61
+ this._addVersion("@langchain/together-ai", "0.2.4");
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.3");
46
+ this._addVersion("@langchain/together-ai", "0.2.4");
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.3");
46
+ this._addVersion("@langchain/together-ai", "0.2.4");
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",
3
+ "version": "0.2.4",
4
4
  "description": "Together AI integrations for LangChain.js",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -14,21 +14,21 @@
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.3"
17
+ "@langchain/openai": "1.5.4"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@langchain/core": "^1.0.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@tsconfig/recommended": "^1.0.3",
24
- "@vitest/coverage-v8": "^4.1.8",
24
+ "@vitest/coverage-v8": "^4.1.9",
25
25
  "dotenv": "^17.4.0",
26
26
  "dpdm": "^3.14.0",
27
27
  "typescript": "~6.0.3",
28
28
  "vitest": "^4.1.8",
29
29
  "zod": "^3.25.76 || ^4",
30
- "@langchain/core": "^1.2.1",
31
- "@langchain/openai": "^1.5.3",
30
+ "@langchain/core": "^1.2.2",
31
+ "@langchain/openai": "^1.5.4",
32
32
  "@langchain/standard-tests": "0.0.23",
33
33
  "@langchain/tsconfig": "0.0.1"
34
34
  },