atiaomar1978-hub commented on PR #26105: URL: https://github.com/apache/camel/pull/26105#issuecomment-5534999380
## Automated review follow-up (Bugbot + Grok) Ran Bugbot and Grok review on this changeset. Findings addressed in commit `a3c47c40151`: 1. **Bugbot (medium)** — `OpenAIEmbeddingsProducer` still cast OpenAI usage headers to `(int)`, truncating large counts and inconsistent with `Long` header metadata. **Fixed:** set `PROMPT_TOKENS` / `TOTAL_TOKENS` from `long` values directly. 2. **Grok** — Add Micrometer test ensuring null/zero token usage does not register `gen_ai.client.token.usage` counters. **Fixed:** `shouldSkipMicrometerTokenCountersWhenUsageIsNullOrZero`. 3. **Grok** — Cover Integer factory with null arguments. **Fixed:** `shouldConvertNullIntegerFactoryArgumentsToNullLongFields`. Grok noted optional future cleanup (single `Number` factory overload) — deferred to keep this PR focused. _AI-generated comment on behalf of atiaomar1978-hub_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
