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

lsm / neokai / 25616806840 / 25
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 01:44AM UTC
Files 280
Run time 8s
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

10 May 2026 01:41AM UTC coverage: 18.291% (-0.002%) from 18.293%
25616806840.25

push

github

web-flow
fix: set autoCompactWindow for non-native providers with large context windows (#1839)

The SDK defaults to a 200k context window for auto-compact when it can't
discover the actual model capacity. This caused DeepSeek v4 (1M context)
to compact at ~17% usage (~170k tokens) instead of the expected ~80%.

Changes:
- QueryOptionsBuilder.build() now fetches the session's ModelInfo and
  passes contextWindow to buildProviderSettings().
- buildProviderSettings() sets autoCompactWindow for non-native providers
  (OpenRouter, Ollama, GLM, etc.) when the model's contextWindow is known.
- Native Anthropic providers (anthropic, anthropic-copilot) are skipped
  since the SDK already knows their correct context windows.
- The Codex bridge's hardcoded 1M autoCompactWindow is preserved.

Tests updated to verify:
- OpenRouter 1M model gets autoCompactWindow=1_000_000
- OpenRouter 128k model gets autoCompactWindow=128_000
- Native anthropic provider leaves settings undefined
- Unknown model context window leaves settings undefined

13683 of 74809 relevant lines covered (18.29%)

9.43 hits per line

Source Files on job daemon-online-mcp - 25616806840.25
  • Tree
  • List 280
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25616806840
  • 6e707641 on github
  • Prev Job for on dev (#25616282617.26)
  • Next Job for on dev (#25617095228.16)
  • 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