MCPcopy Create free account
hub / github.com/ResearAI/DeepReviewer-v2 / apply

Function apply

deepreview/runner.py:127–131  ·  view source on GitHub ↗
(job)

Source from the content-addressed store, hash-verified

125 total_tokens = int(getattr(usage, 'total_tokens', 0) or 0)
126
127 def apply(job):
128 job.usage.token.requests = requests
129 job.usage.token.input_tokens = input_tokens
130 job.usage.token.output_tokens = output_tokens
131 job.usage.token.total_tokens = total_tokens
132
133 mutate_job_state(job_id, apply)
134

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected