Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-05-23 17:54:47 +00:00
parent 70393534eb
commit 1674e4c2cf

View file

@ -221,6 +221,7 @@ Deno.serve(async (req) => {
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
Authorization: `Bearer ${serviceKey}`, Authorization: `Bearer ${serviceKey}`,
"X-Internal-Secret": Deno.env.get("INTERNAL_FUNCTION_SECRET") ?? "",
}, },
body: JSON.stringify({ agent_instance_id: agent.id }), body: JSON.stringify({ agent_instance_id: agent.id }),
}).catch((err) => console.error("auto-provision fetch error:", err)); }).catch((err) => console.error("auto-provision fetch error:", err));