@convo-lang/convo-lang
Version:
The language of AI
16 lines • 556 B
JavaScript
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