import type { EmbeddingProfile } from './embedding-profile.js'; export interface EmbeddingSettingsProps { profiles: EmbeddingProfile[]; activeProfile: EmbeddingProfile | null; } export class EmbeddingSettings { profiles: EmbeddingProfile[]; activeProfile: EmbeddingProfile | null; constructor(props: EmbeddingSettingsProps) { this.profiles = props.profiles; this.activeProfile = props.activeProfile; } get activeProfileId(): string | null { return this.activeProfile?.id ?? null; } }