Files
netbird/management/internals/modules
mlsmaycon 36cd7a5915 [debug] Decompose a Bedrock inference-profile listing
Not for merge. Discovery reports 100+ models for an account whose console
shows 38 in the same region, and the production path cannot explain it:
parseListing keeps an id, a name and a status and drops the rest of every
summary, so the type, the geography and whether a nextToken was present
never reach a log line.

Reads the listing three ways — one unparameterised GET as Fetch issues it,
the same call followed through nextToken, and Fetch itself — then breaks
the result down by status, type, geography and vendor, counts distinct
models after normalization, and lists which of those the catalog can
price.

Carries its own build tag, so no ordinary test run or CI job compiles it,
and needs only the token: no docker, no management server.
2026-08-23 16:22:13 +00:00
..