This commit is contained in:
KS Jannette
2026-02-13 13:25:33 -05:00
parent 1f878ad3d6
commit 050e1ea522
5 changed files with 6 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
import 'dotenv/config';
import app from './app.js';
const PORT = process.env.PORT || 3001;

View File

@@ -1,8 +1,7 @@
import Anthropic from "@anthropic-ai/sdk";
import { anthropicApiKey } from "../.secrets.js";
const client = new Anthropic({
apiKey: anthropicApiKey,
apiKey: process.env.ANTHROPIC_API_KEY,
});
const buildPrompt = (notes) => {

View File

@@ -14,10 +14,6 @@ vi.mock('@anthropic-ai/sdk', () => {
};
});
vi.mock('../.secrets.js', () => ({
anthropicApiKey: 'test-key-not-real',
}));
import { clusterNotes } from '../services/clustering.service.js';
const MOCK_NOTES = [