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

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

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 01:44AM UTC
Files 127
Run time 3s
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: 55.032%. Remained the same
25616806840.6

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

14092 of 25607 relevant lines covered (55.03%)

31.28 hits per line

Source Files on job daemon-4-space-storage - 25616806840.6
  • Tree
  • List 127
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25616806840
  • 6e707641 on github
  • Prev Job for on dev (#25616282617.24)
  • 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