UNPKG

c9ai

Version:

Universal AI assistant with vibe-based workflows, hybrid cloud+local AI, and comprehensive tool integration

36 lines (29 loc) 615 B
/** * Mock implementation of node-llama-cpp for testing */ class MockLlamaModel { constructor(options = {}) { this.options = options; } async load() { return true; } } class MockLlamaContext { constructor(options = {}) { this.options = options; } } class MockLlamaChatSession { constructor(options = {}) { this.options = options; } async prompt(text) { return `Mock response for: ${text}`; } } module.exports = { LlamaModel: MockLlamaModel, LlamaContext: MockLlamaContext, LlamaChatSession: MockLlamaChatSession };