From 737bc4b8d767e3156d1d07433e5660bc5a10e497 Mon Sep 17 00:00:00 2001 From: neken Date: Fri, 10 Apr 2026 15:28:02 +0500 Subject: [PATCH] fix: remove ANTHROPIC_API_KEY requirement, use claude.ai subscription auth --- src/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1880c00..033fea0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,11 +3,9 @@ import { createBot } from "./bot.js"; const token = process.env.TELEGRAM_BOT_TOKEN; const ownerId = process.env.TELEGRAM_OWNER_ID; -const apiKey = process.env.ANTHROPIC_API_KEY; if (!token) throw new Error("TELEGRAM_BOT_TOKEN is required"); if (!ownerId) throw new Error("TELEGRAM_OWNER_ID is required"); -if (!apiKey) throw new Error("ANTHROPIC_API_KEY is required"); const bot = createBot(token, Number(ownerId));