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

Vanilla JS version: prompt/message rendered and editable messages do nothing #117

Open
allanpaiste opened this issue Jul 11, 2024 · 1 comment

Comments

@allanpaiste
Copy link

Although specified in typing, these options will result in no behaviour nor visual changes:

type MessageOptions<AiMsg = string> = {
    /**
     * Custom function to render the message received from the AI.
     */
    responseRenderer?: ResponseRenderer<AiMsg>;
    /**
     * Custom function to render the message sent by the user.
     */
    promptRenderer?: PromptRenderer;
    /**
     * Indicates whether the user should be able to edit the message after sending it.
     * Editing a message will replace the original message and will remove all subsequent messages in the conversation.
     *
     * @default false
     */
    editableUserMessages?: boolean;
}

Not much to provide here in terms of steps. Configuring these to be set to something will result in no changes in behaviour.

@jkealey
Copy link

jkealey commented Dec 2, 2024

I just hit the same thing for waitTimeBeforeStreamCompletion in vanilla JS

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

No branches or pull requests

2 participants