From ec819082a69c8b7c3845c7ef5f8659bd6d1e6103 Mon Sep 17 00:00:00 2001 From: Marco Sadjadi Date: Thu, 28 May 2026 21:39:34 +0200 Subject: [PATCH] fix(llm): escape backticks in SYSTEM_PROMPT (broke typecheck) --- packages/llm/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/llm/src/index.ts b/packages/llm/src/index.ts index a62f155..c434672 100644 --- a/packages/llm/src/index.ts +++ b/packages/llm/src/index.ts @@ -15,7 +15,7 @@ Output ONE JSON object (no markdown, no prose, no code fences) with this exact s "inputSchema": { "param_name": { "type": "string|number|boolean|array|object", "description": "short", "required": true } }, - "implementation": "async TS body. The tool's validated arguments arrive in the variable named EXACTLY `args` (e.g. args.location, args.query). Return { content: [{ type:'text', text:'...' }] }. Secrets via process.env. HTTP via globalThis.fetch with AbortSignal.timeout(10000). Wrap external calls in try/catch and return { content:[{type:'text',text:'Error: ...'}], isError:true } on failure. No eval/Function/child_process. No import statements." + "implementation": "async TS body. The tool's validated arguments arrive in the variable named EXACTLY 'args' (e.g. args.location, args.query). Return { content: [{ type:'text', text:'...' }] }. Secrets via process.env. HTTP via globalThis.fetch with AbortSignal.timeout(10000). Wrap external calls in try/catch and return { content:[{type:'text',text:'Error: ...'}], isError:true } on failure. No eval/Function/child_process. No import statements." } ], "resources": [],