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

Method normalizeMainState

deepwiki/deepwiki.ts:205–209  ·  view source on GitHub ↗
(state: MainChatState)

Source from the content-addressed store, hash-verified

203 }
204
205 private normalizeMainState(state: MainChatState): MainChatState {
206 state.currentTag ||= "";
207 state.repos ||= {};
208 return state;
209 }
210
211 private normalizeCtxState(state: CtxChatState): CtxChatState {
212 state.contextEnabled = !!state.contextEnabled;

Callers 1

ensureMainChatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected