MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / sendMessage

Method sendMessage

apps/kimi-code/src/tui/kimi-tui.ts:1263–1273  ·  view source on GitHub ↗
(session: Session, input: string, options?: SendMessageOptions)

Source from the content-addressed store, hash-verified

1261 }
1262
1263 private sendMessage(session: Session, input: string, options?: SendMessageOptions): void {
1264 if (
1265 this.deferUserMessages ||
1266 this.state.appState.streamingPhase !== 'idle' ||
1267 this.state.appState.isCompacting
1268 ) {
1269 this.enqueueMessage(input, options);
1270 return;
1271 }
1272 this.sendMessageInternal(session, input, options);
1273 }
1274
1275 steerMessage(session: Session, input: string[]): void {
1276 if (this.deferUserMessages || this.state.appState.isCompacting) {

Callers 1

sendNormalUserInputMethod · 0.95

Calls 2

enqueueMessageMethod · 0.95
sendMessageInternalMethod · 0.95

Tested by

no test coverage detected