MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / constructor

Method constructor

ai/ai.ts:4998–5010  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4996
4997 constructor() {
4998 super();
4999 this.configManagerPromise = ConfigManager.getInstance();
5000 this.httpClient = new HttpClient(this.configManagerPromise);
5001 this.aiService = new AIService(this.configManagerPromise, this.httpClient);
5002 this.featureRegistry = new FeatureRegistry();
5003 this.questionFeature = new QuestionFeature(
5004 this.aiService,
5005 this.configManagerPromise,
5006 this.httpClient,
5007 );
5008 this.registerFeatures();
5009 }
5010
5011 private getMainPrefix(): string {
5012 const prefixes = getPrefixes();
5013 return prefixes[0] || "";

Callers

nothing calls this directly

Calls 2

registerFeaturesMethod · 0.95
getInstanceMethod · 0.45

Tested by

no test coverage detected