MCPcopy Create free account
hub / github.com/anus-dev/ANUS / initialize

Method initialize

packages/core/src/core/client.ts:138–145  ·  view source on GitHub ↗
(contentGeneratorConfig: ContentGeneratorConfig)

Source from the content-addressed store, hash-verified

136 }
137
138 async initialize(contentGeneratorConfig: ContentGeneratorConfig) {
139 this.contentGenerator = await createContentGenerator(
140 contentGeneratorConfig,
141 this.config,
142 this.config.getSessionId(),
143 );
144 this.chat = await this.startChat();
145 }
146
147 getContentGenerator(): ContentGenerator {
148 if (!this.contentGenerator) {

Callers 1

refreshAuthMethod · 0.95

Calls 3

startChatMethod · 0.95
createContentGeneratorFunction · 0.85
getSessionIdMethod · 0.80

Tested by

no test coverage detected