关于LLM上下文压缩的建议

Open
#10,978 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
22/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
ai

Research direction

The payload names no files, tests or entry points, so the starting point is finding where the LLM conversation context is built and trimmed in the Python codebase. Decide what a user-triggered compression should expose and how it fits the existing context handling. Done would mean a maintainer-agreed interface or command design, which should be settled in the thread before any code is written.

Written by the indexing model from the issue text.

Description

enhancement
Feature Description

希望能开放一下LLM上下文的接口,或者是提供一个可以让用户手动进行压缩的操作

Use Case

用户可以自主进行LLM上下文压缩

Checklist
  • I have searched the Issue list for related features and confirmed this feature idea has never been proposed.
  • The feature I am suggesting is related to AstrBot itself, not to a specific plugin.
  • I have read and agree to the project's Code of Conduct.
  • (Optional) I am willing to submit a PR to help implement this feature.
Dominant language
Python
Stars
46.9k
Forks
3.6k
Avg merge
1d 6h
Merged PRs (30d)
136

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AstrBotDevs/AstrBot

All issues in AstrBotDevs/AstrBot

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.