@convo-lang/convo-lang
Version:
The language of AI
17 lines • 545 B
JavaScript
import { passthroughConvoInputType, passthroughConvoOutputType } from "./convo-lib";
export class CallbackConvoCompletionService {
serviceId = 'callback';
inputType = passthroughConvoInputType;
outputType = passthroughConvoOutputType;
canComplete(model, flat) {
return true;
}
completeAsync;
constructor(completeAsync) {
this.completeAsync = completeAsync;
}
completeConvoAsync(flat) {
return this.completeAsync(flat);
}
}
//# sourceMappingURL=CallbackConvoCompletionService.js.map