Skip to content

feat: redesign prompt compaction with 4-tier system and multi-provider support#46

Open
chinkan wants to merge 20 commits into
mainfrom
feat/redesign-prompt-compaction
Open

feat: redesign prompt compaction with 4-tier system and multi-provider support#46
chinkan wants to merge 20 commits into
mainfrom
feat/redesign-prompt-compaction

Conversation

@chinkan

@chinkan chinkan commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

Complete redesign of the prompt compaction system with a 4-tier approach, plus multi-provider support for model backends.

Changes

  • 4-tier prompt compaction: Tier 1 (preserve recent), Tier 2 (summarize middle), Tier 3 (auto-compact), Tier 4 (reactive compact)
  • Multi-provider architecture: New trait, , with OpenRouter, OpenAI-Compatible, and Ollama providers
  • Fuzzy model matching: command now discovers models across providers
  • Context window awareness: Each provider section carries for tier thresholds
  • LangSmith tracing fixes: Orphaned run cleanup on 413 recovery
  • Self-upgrade & soul files: Infrastructure for model switching and upgrades
  • Telegram UX improvements: Enhanced platform integration

See individual commits for details.

chinkan added 20 commits June 18, 2026 00:19
@chinkan chinkan marked this pull request as draft June 30, 2026 01:20
@chinkan chinkan marked this pull request as ready for review June 30, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant