feat(server): impl context model (#11027)

This commit is contained in:
darkskygit
2025-03-20 10:24:28 +00:00
parent c1ec17ccba
commit b24376a9f7
8 changed files with 555 additions and 0 deletions

View File

@@ -7,7 +7,9 @@ import {
import { ModuleRef } from '@nestjs/core';
import { ApplyType } from '../base';
import { CopilotContextModel } from './copilot-context';
import { CopilotJobModel } from './copilot-job';
import { CopilotSessionModel } from './copilot-session';
import { DocModel } from './doc';
import { DocUserModel } from './doc-user';
import { FeatureModel } from './feature';
@@ -39,6 +41,8 @@ const MODELS = {
history: HistoryModel,
notification: NotificationModel,
settings: SettingsModel,
copilotSession: CopilotSessionModel,
copilotContext: CopilotContextModel,
copilotJob: CopilotJobModel,
};
@@ -92,6 +96,7 @@ const ModelsSymbolProvider: ExistingProvider = {
export class ModelsModule {}
export * from './common';
export * from './copilot-context';
export * from './copilot-job';
export * from './doc';
export * from './doc-user';