@blockrun/clawrouter 0.12.8 → 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 CHANGED
@@ -2041,8 +2041,7 @@ var BLOCKRUN_MODELS = [
2041
2041
  outputPrice: 3,
2042
2042
  contextWindow: 1e6,
2043
2043
  maxOutput: 65536,
2044
- vision: true,
2045
- toolCalling: true
2044
+ vision: true
2046
2045
  },
2047
2046
  {
2048
2047
  id: "google/gemini-2.5-pro",
@@ -6645,7 +6644,11 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
6645
6644
  `[ClawRouter] Tool-calling filter: excluded ${toolExcluded.join(", ")} (no structured function call support)`
6646
6645
  );
6647
6646
  }
6648
- const TOOL_NONCOMPLIANT_MODELS = ["google/gemini-2.5-flash-lite"];
6647
+ const TOOL_NONCOMPLIANT_MODELS = [
6648
+ "google/gemini-2.5-flash-lite",
6649
+ "google/gemini-3-pro-preview",
6650
+ "google/gemini-3.1-pro"
6651
+ ];
6649
6652
  if (hasTools && toolFiltered.length > 1) {
6650
6653
  const compliant = toolFiltered.filter((m) => !TOOL_NONCOMPLIANT_MODELS.includes(m));
6651
6654
  if (compliant.length > 0 && compliant.length < toolFiltered.length) {