UNPKG

openlit

Version:

OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects

9 lines 396 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const anthropic_1 = require("../llm/anthropic"); describe('llm', () => { it('llmResponseAnthropic throws if no apiKey', async () => { await expect((0, anthropic_1.llmResponseAnthropic)({ prompt: 'p', model: 'm', apiKey: undefined })).rejects.toThrow(); }); }); //# sourceMappingURL=anthropic.test.js.map