FinessseandClaude Opus 4.5 25dd8b2087 feat(middleware): add token-aware context compression
Implement proactive compression based on token count rather than bytes:
- Uses tiktoken for accurate token estimation
- Compresses at 75% threshold before hitting limits
- Reserves tokens for output generation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 05:07:42 +07:00
2025-12-23 23:30:57 +08:00
2025-09-25 10:32:48 +08:00
2025-09-25 10:32:48 +08:00
2025-09-25 10:32:48 +08:00

CLIProxyAPI Plus

English | Chinese

This is the Plus version of CLIProxyAPI, adding support for third-party providers on top of the mainline project.

All third-party provider support is maintained by community contributors; CLIProxyAPI does not provide technical support. Please contact the corresponding community maintainer if you need assistance.

The Plus release stays in lockstep with the mainline features.

Differences from the Mainline

Contributing

This project only accepts pull requests that relate to third-party provider support. Any pull requests unrelated to third-party provider support will be rejected.

If you need to submit any non-third-party provider changes, please open them against the mainline repository.

License

This project is licensed under the MIT License - see LICENSE.

Disclaimer

This project is intended for educational and interoperability research purposes only. It interacts with various internal or undocumented APIs (such as Google's v1internal) to provide compatibility layers.

  • Use at your own risk. The authors are not responsible for any consequences arising from the use of this software, including but not limited to account suspensions or service interruptions.
  • This project is not affiliated with, endorsed by, or associated with Google, OpenAI, Anthropic, or any other service provider mentioned.
  • Users are expected to comply with the Terms of Service of the respective platforms they connect to.
S
Description
No description provided
Readme MIT
18 MiB
Languages
Go 95%
TypeScript 4.1%
PowerShell 0.6%
CSS 0.1%
Shell 0.1%