Configure context compression per session
- Vorherrschende Sprache
- Python
- Sterne
- 21.5k
- Forks
- 4k
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 37
Beschreibung
**Is your feature request related to a problem? Please describe.**
Currently, context compression is defined on an `App` level. So every session on that app will share the same compression config (including on/off).
I want to control whether compression is turned on/off on a per session bases, based on the user/other metadata.
**Describe the solution you'd like**
Maybe have a lifecycle callback on the `App` layer to configure these options. Something `before_session_start`.
**Describe alternatives you've considered**
Create my own compaction events, using `after_agent` callback.
**Additional context**
I am deploying using Vertex AI AgentEngine, so want to be aligned with the possibilities there.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.