@langchain/deepseek 1.1.21 → 1.1.22

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/deepseek
2
2
 
3
+ ## 1.1.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`0c268f5`](https://github.com/langchain-ai/langchainjs/commit/0c268f53cadcddf6884162ed608333224c05868d), [`8103487`](https://github.com/langchain-ai/langchainjs/commit/8103487c55784c5befd84c1bc803546f720f806e)]:
8
+ - @langchain/openai@1.8.1
9
+
3
10
  ## 1.1.21
4
11
 
5
12
  ### Patch Changes
@@ -3,7 +3,7 @@ let _langchain_core_messages = require("@langchain/core/messages");
3
3
  let _langchain_core_utils_env = require("@langchain/core/utils/env");
4
4
  let _langchain_openai = require("@langchain/openai");
5
5
  let _langchain_core_outputs = require("@langchain/core/outputs");
6
- //#region src/chat_models.ts
6
+ // src/chat_models.ts
7
7
  /**
8
8
  * Deepseek chat model integration.
9
9
  *
@@ -385,7 +385,7 @@ var ChatDeepSeek = class extends _langchain_openai.ChatOpenAICompletions {
385
385
  ...fields.configuration
386
386
  }
387
387
  });
388
- this._addVersion("@langchain/deepseek", "1.1.21");
388
+ this._addVersion("@langchain/deepseek", "1.1.22");
389
389
  }
390
390
  get streamEventProvider() {
391
391
  return "deepseek";
@@ -598,7 +598,6 @@ var ChatDeepSeek = class extends _langchain_openai.ChatOpenAICompletions {
598
598
  return super.withStructuredOutput(outputSchema, ensuredConfig);
599
599
  }
600
600
  };
601
- //#endregion
602
601
  exports.ChatDeepSeek = ChatDeepSeek;
603
602
 
604
603
  //# sourceMappingURL=chat_models.cjs.map
@@ -7,7 +7,6 @@ import { ChatOpenAICallOptions, ChatOpenAICompletions, ChatOpenAIFields, OpenAIC
7
7
  import { ChatGenerationChunk } from "@langchain/core/outputs";
8
8
  import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager";
9
9
  import { SerializableSchema } from "@langchain/core/utils/standard_schema";
10
- //#region src/chat_models.d.ts
11
10
  export interface ChatDeepSeekCallOptions extends ChatOpenAICallOptions {
12
11
  headers?: Record<string, string>;
13
12
  }
@@ -438,5 +437,4 @@ export declare class ChatDeepSeek extends ChatOpenAICompletions<ChatDeepSeekCall
438
437
  parsed: RunOutput;
439
438
  }>;
440
439
  }
441
- //#endregion
442
440
  //# sourceMappingURL=chat_models.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat_models.d.cts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;;;;;iBAoBiB,gCAAgC;EAC/C,UAAU;;iBAGK,0BAA0B;;;;;EAKzC;;;;EAIA;;;;;;EAMA,OAAO;;;;;EAKP,gBAAgB;;;;EAIhB;;;;EAIA;;;;;EAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiWW,qBAAqB,sBAAsB;SAC/C;EAIP;MAII;KAAiB;;EAMrB;EAEA;EAEA,YAAY,eAAe,SAAS,KAAK;EACzC,YAAY,SAAS,QAAQ;gBA2BN;YAIJ,2CAEjB,OAAO,qBACP,aAAa,aAAa,qBAC1B,uHAMU,oDAAA,oDAAA,oDAAA;EAeL,sBACL,UAAU,eACV,oCACA,aAAa,2BACZ,eAAe;YA6OC,wCACjB,SAAS,aAAa,uBACtB,aAAa,aA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aAAa,qBAC1B,uHAMU,oDAAA,oDAAA,oDAAA;EAeL,sBACL,UAAU,eACV,oCACA,aAAa,2BACZ,eAAe;YA6OC,wCACjB,SAAS,aAAa,uBACtB,aAAa,aAAa,iBAAc,+CAAA,oDAAA,oDAAA;;;;;;;;;;;;;;;;;;MA+BtC,WAAW;EAIf,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,uCACR,SAAS,wBAAwB;EAEpC,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,sCACR,SAAS;IAA0B,KAAK;IAAa,QAAQ;;EAEhE,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,yCAEP,SAAS,wBAAwB,aACjC,SAAS;IAA0B,KAAK;IAAa,QAAQ"}
@@ -7,7 +7,6 @@ import { Runnable } from "@langchain/core/runnables";
7
7
  import { InteropZodType } from "@langchain/core/utils/types";
8
8
  import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager";
9
9
  import { SerializableSchema } from "@langchain/core/utils/standard_schema";
10
- //#region src/chat_models.d.ts
11
10
  export interface ChatDeepSeekCallOptions extends ChatOpenAICallOptions {
12
11
  headers?: Record<string, string>;
13
12
  }
@@ -438,5 +437,4 @@ export declare class ChatDeepSeek extends ChatOpenAICompletions<ChatDeepSeekCall
438
437
  parsed: RunOutput;
439
438
  }>;
440
439
  }
441
- //#endregion
442
440
  //# sourceMappingURL=chat_models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat_models.d.ts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;;;;;iBAoBiB,gCAAgC;EAC/C,UAAU;;iBAGK,0BAA0B;;;;;EAKzC;;;;EAIA;;;;;;EAMA,OAAO;;;;;EAKP,gBAAgB;;;;EAIhB;;;;EAIA;;;;;EAKA;;;;;;;;;;;;;;;;;;;;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SAAS;IAA0B,KAAK;IAAa,QAAQ"}
@@ -3,7 +3,7 @@ import { AIMessageChunk } from "@langchain/core/messages";
3
3
  import { getEnvironmentVariable } from "@langchain/core/utils/env";
4
4
  import { ChatOpenAICompletions } from "@langchain/openai";
5
5
  import { ChatGenerationChunk } from "@langchain/core/outputs";
6
- //#region src/chat_models.ts
6
+ // src/chat_models.ts
7
7
  /**
8
8
  * Deepseek chat model integration.
9
9
  *
@@ -385,7 +385,7 @@ var ChatDeepSeek = class extends ChatOpenAICompletions {
385
385
  ...fields.configuration
386
386
  }
387
387
  });
388
- this._addVersion("@langchain/deepseek", "1.1.21");
388
+ this._addVersion("@langchain/deepseek", "1.1.22");
389
389
  }
390
390
  get streamEventProvider() {
391
391
  return "deepseek";
@@ -598,7 +598,6 @@ var ChatDeepSeek = class extends ChatOpenAICompletions {
598
598
  return super.withStructuredOutput(outputSchema, ensuredConfig);
599
599
  }
600
600
  };
601
- //#endregion
602
601
  export { ChatDeepSeek };
603
602
 
604
603
  //# sourceMappingURL=chat_models.js.map
package/dist/index.js CHANGED
@@ -1,2 +1 @@
1
- import { ChatDeepSeek } from "./chat_models.js";
2
- export { ChatDeepSeek };
1
+ export { ChatDeepSeek } from "./chat_models.js";
package/dist/profiles.cjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/profiles.ts
1
+ // src/profiles.ts
2
2
  const PROFILES = {
3
3
  "deepseek-chat": {
4
4
  maxInputTokens: 1e6,
@@ -57,7 +57,6 @@ const PROFILES = {
57
57
  structuredOutput: true
58
58
  }
59
59
  };
60
- //#endregion
61
60
  exports.default = PROFILES;
62
61
 
63
62
  //# sourceMappingURL=profiles.cjs.map
package/dist/profiles.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/profiles.ts
1
+ // src/profiles.ts
2
2
  const PROFILES = {
3
3
  "deepseek-chat": {
4
4
  maxInputTokens: 1e6,
@@ -57,7 +57,6 @@ const PROFILES = {
57
57
  structuredOutput: true
58
58
  }
59
59
  };
60
- //#endregion
61
60
  export { PROFILES as default };
62
61
 
63
62
  //# sourceMappingURL=profiles.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/deepseek",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Deepseek integration for LangChain.js",
5
5
  "type": "module",
6
6
  "author": "LangChain",
@@ -14,21 +14,21 @@
14
14
  },
15
15
  "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-deepseek",
16
16
  "dependencies": {
17
- "@langchain/openai": "1.8.0"
17
+ "@langchain/openai": "1.8.1"
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": "^5.0.2",
25
- "dotenv": "^17.4.2",
24
+ "@vitest/coverage-v8": "^5.0.5",
25
+ "dotenv": "^18.0.9",
26
26
  "dpdm": "^4.3.0",
27
27
  "typescript": "~7.0.2",
28
- "vitest": "^5.0.2",
29
- "@langchain/core": "^1.3.1",
28
+ "vitest": "^5.0.5",
30
29
  "@langchain/standard-tests": "0.0.23",
31
- "@langchain/tsconfig": "0.0.1"
30
+ "@langchain/tsconfig": "0.0.1",
31
+ "@langchain/core": "^1.3.5"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"