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

lsm / neokai / 27028970198
82%

Build:
DEFAULT BRANCH: dev
Ran 05 Jun 2026 05:09PM UTC
Jobs 0
Files 0
Run time –
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

Canceled at 07 Jun 2026 02:48AM UTC via web
27028970198

push

github

web-flow
fix(agent): disable SDK auto-compaction for non-Anthropic models (#2069)

* fix(agent): disable SDK auto-compaction for non-Anthropic models, add NeoKai-level trigger

The Claude Agent SDK assumes a 200k context window and auto-compacts
before non-Anthropic models actually need it, causing premature loss of
conversation history.

Changes:
- Disable SDK auto-compaction for non-native providers by setting
  autoCompactEnabled: false and autoCompactWindow: Number.MAX_SAFE_INTEGER
  in buildProviderSettings().
- Add ContextTracker.shouldCompact() to gate compaction on actual model
  context windows at an 85% threshold with a 60s cooldown.
- Trigger /compact via messageQueue in SDKMessageHandler.refreshContextUsage()
  when usage exceeds the threshold for non-native providers.
- Map per-model context windows for OpenRouter, Codex bridge, GLM, Kimi,
  MiniMax, Ollama, and custom endpoints.
- Add unit tests for compaction threshold, cooldown, and handler trigger.

* refactor(agent): import NATIVE_CONTEXT_WINDOW_PROVIDER_IDS instead of duplicating inline

* fix(agent): guard against undefined providerId in compaction trigger
Source Files on build 27028970198
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #27028970198
  • 8d235890 on github
  • Prev Build on dev (#26995467938)
  • Next Build on dev (#27033457305)
  • 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