@blockrun/clawrouter 0.12.7 → 0.12.9
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.js +6 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/reinstall.sh +1 -1
- package/scripts/update.sh +1 -1
package/dist/index.js
CHANGED
|
@@ -1323,8 +1323,7 @@ var BLOCKRUN_MODELS = [
|
|
|
1323
1323
|
outputPrice: 3,
|
|
1324
1324
|
contextWindow: 1e6,
|
|
1325
1325
|
maxOutput: 65536,
|
|
1326
|
-
vision: true
|
|
1327
|
-
toolCalling: true
|
|
1326
|
+
vision: true
|
|
1328
1327
|
},
|
|
1329
1328
|
{
|
|
1330
1329
|
id: "google/gemini-2.5-pro",
|
|
@@ -7129,7 +7128,11 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
|
|
|
7129
7128
|
`[ClawRouter] Tool-calling filter: excluded ${toolExcluded.join(", ")} (no structured function call support)`
|
|
7130
7129
|
);
|
|
7131
7130
|
}
|
|
7132
|
-
const TOOL_NONCOMPLIANT_MODELS = [
|
|
7131
|
+
const TOOL_NONCOMPLIANT_MODELS = [
|
|
7132
|
+
"google/gemini-2.5-flash-lite",
|
|
7133
|
+
"google/gemini-3-pro-preview",
|
|
7134
|
+
"google/gemini-3.1-pro"
|
|
7135
|
+
];
|
|
7133
7136
|
if (hasTools && toolFiltered.length > 1) {
|
|
7134
7137
|
const compliant = toolFiltered.filter((m) => !TOOL_NONCOMPLIANT_MODELS.includes(m));
|
|
7135
7138
|
if (compliant.length > 0 && compliant.length < toolFiltered.length) {
|