diff --git a/README.md b/README.md index 7f06da2..3977eb6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Developers may freely swap in other LLM SDKs and/or APIs... and alter prompt syn ## Prerequisites - Node.js (v18 or later recommended) -- An [Anthropic API key](https://console.anthropic.com/) +- An LLM Platform API key ## Setup @@ -32,10 +32,10 @@ cd kongruity The backend expects a `.env` file containing an Anthropic API key in the root `backend/` directory. This file is git-ignored and must be created manually: ```bash -echo 'ANTHROPIC_API_KEY=' > backend/.env +echo 'LLM_API_KEY=' > backend/.env ``` -Replace `` with your actual key. +Replace `` with your actual key. ### 3. Install dependencies diff --git a/backend/tests/Notes.test.js b/backend/tests/Notes.test.js index cf8bfc7..776703f 100644 --- a/backend/tests/Notes.test.js +++ b/backend/tests/Notes.test.js @@ -115,7 +115,7 @@ describe('POST /v1/notes/cluster', () => { it('should return 500 when clusterNotes (API call) fails', async () => { readFile.mockResolvedValue(JSON.stringify(MOCK_NOTES)); - clusterNotes.mockRejectedValue(new Error('Anthropic API error')); + clusterNotes.mockRejectedValue(new Error('LLM API error')); const res = await request(app).post('/v1/notes/cluster');