UNPKG

gaunt-sloth-assistant

Version:

[![Tests and Lint](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [![Integration Tests](https://github.co

12 lines 539 B
import { displayWarning } from '#src/utils/consoleUtils.js'; // Function to process JSON config and create Fake LLM instance for testing export async function processJsonConfig(llmConfig) { if (llmConfig.responses) { const test = await import('@langchain/core/utils/testing'); return new test.FakeListChatModel(llmConfig); } displayWarning("Fake LLM requires 'responses' array in config"); return null; } // No init function needed for fake LLM as it's only used for testing //# sourceMappingURL=fake.js.map