openlit
Version:
OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects
9 lines • 398 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const openai_1 = require("../llm/openai");
describe('llm', () => {
it('llmResponseOpenAI throws if no apiKey', async () => {
await expect((0, openai_1.llmResponseOpenAI)({ prompt: 'p', model: 'm', apiKey: undefined, baseUrl: undefined })).rejects.toThrow();
});
});
//# sourceMappingURL=openai.test.js.map