@langchain/openrouter 0.1.7 → 0.1.8

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/openrouter
2
2
 
3
+ ## 0.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`478652c`](https://github.com/langchain-ai/langchainjs/commit/478652c01cdae0703415febd250b6c2656b36410), [`52e501b`](https://github.com/langchain-ai/langchainjs/commit/52e501b44ee54ace1889ec9149a3617c4409db51)]:
8
+ - @langchain/openai@1.3.1
9
+
3
10
  ## 0.1.7
4
11
 
5
12
  ### Patch Changes
@@ -132,7 +132,7 @@ var ChatOpenRouter = class extends _langchain_core_language_models_chat_models.B
132
132
  model: modelOrFields
133
133
  } : modelOrFields;
134
134
  super(fields);
135
- this._addVersion("@langchain/openrouter", "0.1.7");
135
+ this._addVersion("@langchain/openrouter", "0.1.8");
136
136
  const apiKey = fields.apiKey ?? (0, _langchain_core_utils_env.getEnvironmentVariable)("OPENROUTER_API_KEY");
137
137
  if (!apiKey) throw new require_errors.OpenRouterAuthError("OpenRouter API key is required. Get one at https://openrouter.ai/keys and set it via the `apiKey` parameter or the OPENROUTER_API_KEY environment variable.");
138
138
  this.apiKey = apiKey;
@@ -132,7 +132,7 @@ var ChatOpenRouter = class extends BaseChatModel {
132
132
  model: modelOrFields
133
133
  } : modelOrFields;
134
134
  super(fields);
135
- this._addVersion("@langchain/openrouter", "0.1.7");
135
+ this._addVersion("@langchain/openrouter", "0.1.8");
136
136
  const apiKey = fields.apiKey ?? getEnvironmentVariable("OPENROUTER_API_KEY");
137
137
  if (!apiKey) throw new OpenRouterAuthError("OpenRouter API key is required. Get one at https://openrouter.ai/keys and set it via the `apiKey` parameter or the OPENROUTER_API_KEY environment variable.");
138
138
  this.apiKey = apiKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/openrouter",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "OpenRouter integration for LangChain.js",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "eventsource-parser": "^3.0.6",
18
18
  "openai": "^6.22.0",
19
- "@langchain/openai": "1.3.0"
19
+ "@langchain/openai": "1.3.1"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@langchain/core": "^1.0.0"
@@ -31,10 +31,10 @@
31
31
  "vitest": "^3.2.4",
32
32
  "zod": "^3.25.76 || ^4",
33
33
  "zod-to-json-schema": "^3.24.6",
34
- "@langchain/core": "^1.1.33",
34
+ "@langchain/core": "^1.1.36",
35
35
  "@langchain/eslint": "0.1.1",
36
- "@langchain/openai": "^1.3.0",
37
- "@langchain/standard-tests": "0.0.23"
36
+ "@langchain/standard-tests": "0.0.23",
37
+ "@langchain/openai": "^1.3.1"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"