import { ChatConfigurator } from "../../shared";
import { AIExtensionDataSource } from "../AIExtensionDataSource";
import { AIConversationSummaryDecorator } from "./AIConversationSummaryDecorator";
export class AIConversationSummaryExtension extends AIExtensionDataSource {
    configuration;
    constructor(configuration) {
        super();
        this.configuration = configuration;
    }
    addExtension() {
        ChatConfigurator.enable((dataSource) => new AIConversationSummaryDecorator(dataSource, this.configuration));
    }
    getExtensionId() {
        return "conversation-summary";
    }
}
//# sourceMappingURL=AIConversationSummaryExtension.js.map