mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
fix(grok-web): stabilize tool calling and response parsing (#1857)
Integrated into release/v3.7.8
This commit is contained in:
@@ -102,11 +102,6 @@ const nextConfig = {
|
||||
})
|
||||
);
|
||||
|
||||
// Mark @ngrok/ngrok as external to prevent webpack from trying to bundle its .node binaries
|
||||
config.externals = config.externals || [];
|
||||
config.externals.push({
|
||||
"@ngrok/ngrok": "commonjs @ngrok/ngrok",
|
||||
});
|
||||
// ── Turbopack / Next.js 16 module-hash patch (#394, #396, #398) ────────
|
||||
//
|
||||
// Next.js 16 (with or without Turbopack) compiles the instrumentation hook
|
||||
@@ -128,6 +123,7 @@ const nextConfig = {
|
||||
const KNOWN_EXTERNALS = new Set([
|
||||
"better-sqlite3",
|
||||
"keytar",
|
||||
"@ngrok/ngrok",
|
||||
"wreq-js",
|
||||
"zod",
|
||||
"pino",
|
||||
|
||||
@@ -1127,10 +1127,10 @@ export const REGISTRY: Record<string, RegistryEntry> = {
|
||||
authHeader: "cookie",
|
||||
passthroughModels: true,
|
||||
models: [
|
||||
{ id: "fast", name: "Grok Fast" },
|
||||
{ id: "expert", name: "Grok 4.20 Thinking" },
|
||||
{ id: "heavy", name: "Grok 4.20 Multi Agent" },
|
||||
{ id: "grok-420-computer-use-sa", name: "Grok 4.3 (Beta)" },
|
||||
{ id: "fast", name: "Grok Fast", toolCalling: true },
|
||||
{ id: "expert", name: "Grok 4.20 Thinking", toolCalling: true },
|
||||
{ id: "heavy", name: "Grok 4.20 Multi Agent", toolCalling: true },
|
||||
{ id: "grok-420-computer-use-sa", name: "Grok 4.3 (Beta)", toolCalling: true },
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user