UNPKG

@convo-lang/convo-lang

Version:
10 lines 857 B
import { defineProvider, defineService, defineStringParam } from "@iyio/common"; import { ConvoLocalStorageCache } from "./ConvoLocalStorageCache"; import { ConvoVfsCache } from "./ConvoVfsCache"; import { PassthroughConvoConversationConverter } from "./PassthroughConvoConversationConverter"; export const convoCompletionService = defineService('ConvoCompletionService'); export const convoConversationConverterProvider = defineProvider('convoConversationConverterProvider', () => new PassthroughConvoConversationConverter()); export const convoCapabilitiesParams = defineStringParam('convoCapabilities'); export const convoGraphStore = defineService('ConvoGraphStore'); export const convoCacheService = defineService('convoCacheService', () => globalThis.window ? new ConvoLocalStorageCache() : new ConvoVfsCache()); //# sourceMappingURL=convo.deps.js.map