fix(llm): escape backticks in SYSTEM_PROMPT (broke typecheck)
All checks were successful
Deploy to Production / deploy (push) Successful in 1m9s

This commit is contained in:
Marco Sadjadi 2026-05-28 21:39:34 +02:00
parent 147ba69968
commit ec819082a6

View File

@ -15,7 +15,7 @@ Output ONE JSON object (no markdown, no prose, no code fences) with this exact s
"inputSchema": { "inputSchema": {
"param_name": { "type": "string|number|boolean|array|object", "description": "short", "required": true } "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": [], "resources": [],