UNPKG

@convo-lang/convo-lang

Version:
16 lines 556 B
import { passthroughConvoInputType, passthroughConvoOutputType } from "./convo-lib.js"; export class CallbackConvoCompletionService { canComplete(model, flat) { return true; } constructor(completeAsync) { this.serviceId = 'callback'; this.inputType = passthroughConvoInputType; this.outputType = passthroughConvoOutputType; this.completeAsync = completeAsync; } completeConvoAsync(flat) { return this.completeAsync(flat); } } //# sourceMappingURL=CallbackConvoCompletionService.js.map