@qilin-agent/llm-mock-server 3.1.5 → 3.1.7

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/lib/index.js +1 -0
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -184,6 +184,7 @@ function httpError(options, record, response, status, message, code, type = "moc
184
184
  function terminalChunk(reason, outputTokens, dialect) {
185
185
  if (dialect === "messages") return {
186
186
  type: "message_delta",
187
+ /* v8 ignore next -- no behavior passes an unmapped stop reason */
187
188
  delta: {
188
189
  stop_reason: MESSAGE_STOP_REASON[reason] ?? reason,
189
190
  stop_sequence: null
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qilin-agent/llm-mock-server",
3
3
  "description": "Scriptable OpenAI-compatible HTTP/SSE fault server for LLM recovery tests",
4
- "version": "3.1.5",
4
+ "version": "3.1.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,9 +30,9 @@
30
30
  ],
31
31
  "license": "MIT",
32
32
  "peerDependencies": {
33
- "@qilin-agent/kylin": "~4.0.3"
33
+ "@qilin-agent/kylin": "~4.0.5"
34
34
  },
35
35
  "devDependencies": {
36
- "@qilin-agent/kylin": "~4.0.3"
36
+ "@qilin-agent/kylin": "~4.0.5"
37
37
  }
38
38
  }