Skip to content

Session and context token management #544

Answered by calvingiles
bugthedebugger asked this question in Q&A
Discussion options

You must be logged in to vote

You could make a callback that rewrites the history to remove the calls.

Once you have made the decision to replace a function call/response with a summary, you could store the replacement in the state to look it up on future invocations.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@calvingiles
Comment options

Answer selected by bugthedebugger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants