From 6a084b6740636ef3ebed899c6f586eed43c16a3c Mon Sep 17 00:00:00 2001 From: PJ Date: Fri, 12 Jun 2026 10:25:51 +0530 Subject: [PATCH] feat(spec): make llm marker inert on the JS picker --- pkg/spec/src/pick.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/spec/src/pick.ts b/pkg/spec/src/pick.ts index 97c7b4f..f2019e9 100644 --- a/pkg/spec/src/pick.ts +++ b/pkg/spec/src/pick.ts @@ -86,6 +86,12 @@ export function walk( } case "builtin": return walkBuiltin(node.verb, rng, host); + case "llm": + // The LLM backend is driven by Go (it reads config.model off + // globalThis.actions and selects via OpenRouter). On the JS picker the + // marker is inert, so the goja NextAction reports no action and the Go + // llmSource takes over. + return null; } }