Files
OmniRoute/tests
diegosouzapw 27d643a9da fix(sse): parse Ollama Cloud's current usage markup (#12749)
extractOllamaUsagePercent() only inspected the data-usage-track element's
own opening tag. Ollama's settings page now writes the aria-label as
"$X of $Y used" (no % sign) and moves the width:NN% style onto a
nested child div, so both extraction paths silently returned null and
usage/quota never populated.

Add a $X-of-$Y aria-label fallback (used/total*100) and widen the
width-style lookup to search the whole data-usage-track block instead
of only its own opening tag, while keeping the old NN%-used /
same-tag-style markup working.
2026-09-10 15:19:26 -03:00
..