MCPcopy Create free account
hub / github.com/ConardLi/easy-agent / getModelSource

Method getModelSource

src/core/queryEngine.ts:758–760  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

756
757 while (true) {
758 const { value, done } = await loop.next();
759 if (done) {
760 this.messages = [...value.state.messages];
761 this.totalUsage = {
762 input_tokens: this.totalUsage.input_tokens + value.usage.input_tokens,
763 output_tokens: this.totalUsage.output_tokens + value.usage.output_tokens,

Callers 3

getStateMethod · 0.95
commandContextMethod · 0.95
handleCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected