Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ endTurn
Method
endTurn
packages/agent-core/src/agent/usage/index.ts:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
}
21
22
endTurn(): void {
23
this.currentTurn = undefined;
24
}
25
26
record(model: string, usage: TokenUsage, scope: UsageRecordScope =
'session'
): void {
27
this.agent?.records.logRecord({
Callers
3
usage.test.ts
File · 0.80
endGoalTurnWithoutModel
Method · 0.80
runOneTurn
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected