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

FORCE_USER_ROLE option to force api calls to use role:user instead of role:system #567

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

odrevet
Copy link

@odrevet odrevet commented May 21, 2024

When using OpenAI compatible API like textgen webui some models do not support role:system in API calls, thus ignoring completely instructions how to behave and will add markdown in shell mode.
This PR adds a config option FORCE_USER_ROLE to use in this scenario

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

1 participant