• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 27696093944 / 21
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 17 Jun 2026 02:27PM UTC
Files 324
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jun 2026 02:23PM UTC coverage: 34.911%. First build
27696093944.21

push

github

web-flow
fix: strip all trailing [1m] suffixes from GLM model IDs to prevent 1M → 200K fallback (#2125)

GLM-5.2 sessions reported context window mismatch:
"SDK reports 1000000 tokens for model=glm-5.2[1m][1m] but metadata declares 200000 tokens (mismatch 80.0%)"

Root cause: glm-provider.ts buildSdkConfig() only stripped ONE trailing [1m] suffix.
When modelId was glm-5.2[1m][1m], it became glm-5.2[1m], then got another [1m] appended
for routing → glm-5.2[1m][1m] again, which wasn't in CONTEXT_WINDOW_BY_MODEL_ID map,
causing 200K fallback.

Fix:
- Changed regex from /\[1m\]$/ to /(\[1m\])+$/ to strip ALL trailing [1m] suffixes
- Added normalizeModelId() helper in context-fetcher.ts to collapse double suffixes
- Added tests for glm-5.2[1m][1m] and glm-5.2[1m][1m][1m] routing

Expected behavior after fix:
- glm-5.2 → displays 1M, routes to glm-5.2[1m], context window 1M ✓
- glm-5.2[1m] → displays 1M, routes to glm-5.2[1m], context window 1M ✓
- glm-5.2[1m][1m] → normalizes to glm-5.2[1m], displays 1M, context window 1M ✓

33180 of 95041 relevant lines covered (34.91%)

16.94 hits per line

Source Files on job daemon-0-shared-handlers-workflow - 27696093944.21
  • Tree
  • List 324
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27696093944
  • 18fb65c3 on github
  • Next Job for on dev (#27716672778.14)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc