Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove blacklist prompt cache check #19

Merged
merged 18 commits into from
Sep 30, 2023
Merged

Remove blacklist prompt cache check #19

merged 18 commits into from
Sep 30, 2023

Conversation

ifrit98
Copy link
Contributor

@ifrit98 ifrit98 commented Sep 26, 2023

Remove this check for now, due to new synapse header reconstruction won't contain body.

Otherwise this would result in blacklisting after the first message, as the synapse.messages field will be [] (empty list) as we reconstruct the synapse from the request headers, which do not contain body information.

EDIT: Instead of removing, this check now lives in the forward wrapper.

Copy link
Contributor

@Eugene-hu Eugene-hu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left you a suggestion

prompting/baseminer/miner.py Show resolved Hide resolved
@ifrit98 ifrit98 merged commit b10614c into main Sep 30, 2023
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants