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

Add impersonate feature to API /v1/chat/completions #6342

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

Yiximail
Copy link
Contributor

@Yiximail Yiximail commented Aug 22, 2024

The feature same as the impersonate feature on webui.

Add an impersonate param to active this feature in /v1/chat/completions.

Updated:
Prepend user_input in impersonate reply for consistency
It will always returns the entire message now

Checklist:

Test Images

Impersonate:
image

Normal response:
image

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.

1 participant