@yzj01/llm-router 1.0.1 → 1.0.2
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/dist/cli.d.ts +1 -1
- package/dist/cli.js +3 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/{proxy-Co87mKak.d.ts → proxy-CpR5cxND.d.ts} +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1792,7 +1792,7 @@ function hashHex(value, length) {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
1794
|
// src/proxy.ts
|
|
1795
|
-
var VERSION = "1.0.
|
|
1795
|
+
var VERSION = "1.0.2";
|
|
1796
1796
|
var HOP_BY_HOP = /* @__PURE__ */ new Set([
|
|
1797
1797
|
"connection",
|
|
1798
1798
|
"keep-alive",
|
|
@@ -1889,9 +1889,8 @@ function readBody(req, limits) {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
var OPENCLAW_CLI_TURN_PATTERN = /(?:^|\n)\[[^\]\n]+?\]\s+([\s\S]*?)(?=(?:\n\[[^\]\n]+?\]\s+)|$)/g;
|
|
1891
1891
|
function extractRouteTextFromUserMessage(text) {
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
return last || text;
|
|
1892
|
+
void OPENCLAW_CLI_TURN_PATTERN;
|
|
1893
|
+
return text;
|
|
1895
1894
|
}
|
|
1896
1895
|
function extractPrompt(messages) {
|
|
1897
1896
|
const parts = [];
|