MCPcopy Create free account
hub / github.com/astercloud/aster / endThinking

Function endThinking

ui/src/stores/thinking.ts:51–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 * 结束思考(对应 think_chunk_end 事件)
50 */
51 const endThinking = () => {
52 if (currentMessageId.value && currentThought.value) {
53 addStep(currentMessageId.value, {
54 type: "reasoning",
55 content: currentThought.value,
56 timestamp: Date.now(),
57 });
58 }
59 currentThought.value = "";
60 currentMessageId.value = null;
61 isThinking.value = false;
62 };
63
64 /**
65 * 添加思维步骤

Callers

nothing calls this directly

Calls 1

addStepFunction · 0.85

Tested by

no test coverage detected