Revision control
Copy as Markdown
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
/// A user-specific implementation of the SummarizerConfigSourceProtocol that retrieves configurations from user settings.
/// TODO(FXIOS-13187): This is a no-op for now until a UI in settings is implemented for users to customize model options.
public struct UserSummarizerConfigSource: SummarizerConfigSourceProtocol {
public init() {}
public func load(_ summarizer: SummarizerModel, contentType: SummarizationContentType) -> SummarizerConfig? {
return nil
}
}