Skip to main content

Interface: IAIProfileStoreDeps

Defined in: internal/ai-profile-store/types.ts:28

Shared instances AIProfileStore needs; created once by AIGateway and passed as the second constructor argument.

Properties​

modelRegistry​

modelRegistry: IModelRegistry

Defined in: internal/ai-profile-store/types.ts:30

Validates IAIProfile.modelId and cheapModelId at upsertProfile: the models must exist and be enabled.


runStore​

runStore: IRunStore

Defined in: internal/ai-profile-store/types.ts:34

Read at removeProfile: a profile a PAUSED run waits on cannot go (D46).


skillRegistry​

skillRegistry: ISkillRegistry

Defined in: internal/ai-profile-store/types.ts:36

Validates IAIProfile.skills at upsertProfile (D124).


toolRegistry​

toolRegistry: IToolRegistry

Defined in: internal/ai-profile-store/types.ts:32

Validates IAIProfile.allowedTools and approvals at upsertProfile: every name must be registered.