Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Support for automatic removal of older messages#16

Merged
Richasy merged 2 commits intomainfrom
richasy/autoRmMsg
Jun 10, 2023
Merged

Support for automatic removal of older messages#16
Richasy merged 2 commits intomainfrom
richasy/autoRmMsg

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jun 10, 2023

Close #10

Introduce a new configuration option that enables the removal of older messages to free up token capacity for subsequent messages when the token limit is reached.

PR type

What is the purpose of this PR?

  • Feature

What is the current behavior?

An error will occur when the token limit is reached within the context.

What is the new behavior?

If the option is turned on, older messages will be removed when the context reaches the token limit

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • File headers have been added to all source files
  • NOT Contains breaking updates

@Richasy Richasy added the enhancement New feature or request label Jun 10, 2023
@Richasy Richasy merged commit 8e0583c into main Jun 10, 2023
@Richasy Richasy deleted the richasy/autoRmMsg branch June 10, 2023 02:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Unlimited dialogue

1 participant