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

Method getChat

packages/core/src/core/client.ts:162–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 getChat(): AnusChat {
163 if (!this.chat) {
164 throw new Error('Chat not initialized');
165 }
166 return this.chat;
167 }
168
169 isInitialized(): boolean {
170 return this.chat !== undefined && this.contentGenerator !== undefined;

Callers 10

addHistoryMethod · 0.95
getHistoryMethod · 0.95
setHistoryMethod · 0.95
setToolsMethod · 0.95
addDirectoryContextMethod · 0.95
sendMessageStreamMethod · 0.95
tryCompressChatMethod · 0.95
client.test.tsFile · 0.80
copyCommand.tsFile · 0.80
chatCommand.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected