MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / getCurrentTurnNumber

Method getCurrentTurnNumber

src/session/store.ts:236–241  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

234 msg.content ?? null,
235 msg.tool_calls ? JSON.stringify(msg.tool_calls) : null,
236 msg.tool_call_id ?? null,
237 msg.name ?? null,
238 );
239 }
240 if (hasUserMessage) {
241 this.updateSessionWithTurn.run(usage.input, usage.output, usage.costUsd, title ?? null, sessionId);
242 } else {
243 this.updateSessionNoTurn.run(usage.input, usage.output, usage.costUsd, sessionId);
244 }

Callers 1

recordTurnMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected