[PR #1955] [MERGED] Add TTC Compression plugin by The Token Company #1985

Closed
opened 2026-02-22 18:13:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1955
Author: @rasmus-u
Created: 1/25/2026
Status: Merged
Merged: 1/28/2026
Merged by: @crazywoola

Base: mainHead: add-ttc-compression


📝 Commits (2)

  • 6a53a0f Add TTC Compression plugin by The Token Company
  • 48618ba Remove source files, keep only .difypkg package

📊 Changes

1 file changed (+0 additions, -0 deletions)

View changed files

thetokencompany/ttc_compression/ttc-dify.difypkg (+0 -0)

📄 Description

Summary

Adds TTC Compression plugin - an LLM input compression middleware by The Token Company.

Features:

  • Semantic compression using bear-1 model to reduce token usage
  • Increases effective context window by compressing prompts
  • Configurable aggressiveness (0.1-0.9)
  • Optional max/min output token limits
  • JSON structure protection option

Plugin Details:

Test Plan

  • Plugin packages successfully
  • Plugin installs via remote debug
  • Compression API calls work correctly
  • All parameters (aggressiveness, max/min tokens, protect_json) function properly

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugins/pull/1955 **Author:** [@rasmus-u](https://github.com/rasmus-u) **Created:** 1/25/2026 **Status:** ✅ Merged **Merged:** 1/28/2026 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `add-ttc-compression` --- ### 📝 Commits (2) - [`6a53a0f`](https://github.com/langgenius/dify-plugins/commit/6a53a0fdbffceda47b4f1df883935989096cb546) Add TTC Compression plugin by The Token Company - [`48618ba`](https://github.com/langgenius/dify-plugins/commit/48618bab0169777aee1e721a6538c7ae11ab8746) Remove source files, keep only .difypkg package ### 📊 Changes **1 file changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `thetokencompany/ttc_compression/ttc-dify.difypkg` (+0 -0) </details> ### 📄 Description ## Summary Adds TTC Compression plugin - an LLM input compression middleware by The Token Company. **Features:** - Semantic compression using bear-1 model to reduce token usage - Increases effective context window by compressing prompts - Configurable aggressiveness (0.1-0.9) - Optional max/min output token limits - JSON structure protection option **Plugin Details:** - Author: thetokencompany - Category: utilities, productivity - Website: https://thetokencompany.com - Documentation: https://thetokencompany.com/docs ## Test Plan - [x] Plugin packages successfully - [x] Plugin installs via remote debug - [x] Compression API calls work correctly - [x] All parameters (aggressiveness, max/min tokens, protect_json) function properly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:13:38 -05:00
yindo closed this issue 2026-02-22 18:13:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1985