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

added ChaptGPT (selfhosted) option for custom hosted voices #426

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

Conversation

gerardob
Copy link

@gerardob gerardob commented Oct 9, 2024

Context:
ChatGPT Voices are hard-coded to official voices (alloy, echo, fable, onyx, nova, shimmer), in my case I have a self-hosted local/home server with few custom voices (ex. mx_claude).

Feature:
I added a new hard-coded option to ChatGPT select list, this allow input a custom voice, when the "selfhosted" option is selected is added a input:text below the voice select to manually set the custom voice name that you have hosted in local/home server.

For simplicity and to do the minimal change to the workflow also a Save Button is added for store this new input as "voiceCustom", this button is visible ONLY in this use case.

I leave some screenshots for easy review.

P.D.: I worked in the Firefox branch because is my primary browser, but I think this feature can be cherry-picked to master or any other branch when need it.

P.D.2: I don't looked to network tab in the debugger after a couple hours of work, so maybe will be about a houndred reported issues via "report issue" API.

Options Screen
options

Request Screen with custom voice
custom_voice

@gerardob gerardob force-pushed the firefox branch 2 times, most recently from 04e792e to 20bc00f Compare October 11, 2024 01:22
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