@core-ai/kimi 0.23.0 → 0.25.0

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9,6 +9,7 @@ var DEFAULT_BASE_URL = "https://api.moonshot.ai/v1";
9
9
  // src/model-capabilities.ts
10
10
  import {
11
11
  MULTIMODAL_INPUT_MODALITIES,
12
+ SUPPORTED_TOOL_SCHEMA_STRICTNESS,
12
13
  TEXT_ONLY_MODALITIES,
13
14
  UNKNOWN_MODEL
14
15
  } from "@core-ai/core-ai";
@@ -19,7 +20,10 @@ var UNKNOWN_MODEL_CAPABILITIES = {
19
20
  restrictsSamplingParams: false,
20
21
  supportedToolChoices: ["auto", "none", "required", "tool"]
21
22
  },
22
- modalities: MULTIMODAL_INPUT_MODALITIES
23
+ modalities: MULTIMODAL_INPUT_MODALITIES,
24
+ tools: {
25
+ strictSchemas: SUPPORTED_TOOL_SCHEMA_STRICTNESS
26
+ }
23
27
  };
24
28
  var K2_7_CODE_CAPABILITIES = {
25
29
  reasoning: {
@@ -28,7 +32,10 @@ var K2_7_CODE_CAPABILITIES = {
28
32
  restrictsSamplingParams: true,
29
33
  supportedToolChoices: ["auto", "none"]
30
34
  },
31
- modalities: TEXT_ONLY_MODALITIES
35
+ modalities: TEXT_ONLY_MODALITIES,
36
+ tools: {
37
+ strictSchemas: SUPPORTED_TOOL_SCHEMA_STRICTNESS
38
+ }
32
39
  };
33
40
  var KIMI_MODEL_CAPABILITIES = {
34
41
  [UNKNOWN_MODEL]: UNKNOWN_MODEL_CAPABILITIES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@core-ai/kimi",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "Kimi (Moonshot AI) provider package for @core-ai/core-ai",
5
5
  "license": "MIT",
6
6
  "author": "Omnifact (https://omnifact.ai)",
@@ -45,8 +45,8 @@
45
45
  "test:watch": "vitest"
46
46
  },
47
47
  "dependencies": {
48
- "@core-ai/core-ai": "^0.23.0",
49
- "@core-ai/openai": "^0.23.0"
48
+ "@core-ai/core-ai": "^0.25.0",
49
+ "@core-ai/openai": "^0.25.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "zod": "^4.0.0"