wp-includes/php-ai-client/src/Results/DTO/TokenUsage.php:106Gets the number of thought tokens, which is a subset of the completion token count.
int|null public function getThoughtTokens(): ?int { return $this->thoughtTokens; }Introduced in 1.3.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Results/DTO/TokenUsage.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.