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 perplexity; resolves #35 #81

Merged
merged 7 commits into from
Jul 25, 2023
Merged

Add perplexity; resolves #35 #81

merged 7 commits into from
Jul 25, 2023

Conversation

seanoliver
Copy link
Collaborator

@swyxio Nearly there with perplexity but for some reason I can't get the submit to work yet

@seanoliver seanoliver requested a review from swyxio July 21, 2023 17:47
@seanoliver seanoliver changed the title Add perplexity Add perplexity; resolves #35 Jul 21, 2023
@seanoliver seanoliver linked an issue Jul 21, 2023 that may be closed by this pull request
@swyxio
Copy link
Contributor

swyxio commented Jul 24, 2023

var nativeTextAreaValueSetter = Object.getOwnPropertyDescriptor(window.HTMLTextAreaElement.prototype, "value").set;
nativeTextAreaValueSetter.call(inputElement, 'This should be in state');

const event = new Event('input', { bubbles: true});
inputElement.dispatchEvent(event);

https://stackoverflow.com/a/61110332

@swyxio swyxio marked this pull request as ready for review July 25, 2023 16:01
@swyxio
Copy link
Contributor

swyxio commented Jul 25, 2023

just gonna ship this for now, we can add perplexity llama as a separate provider if we feel like it

@swyxio swyxio merged commit ef3f569 into main Jul 25, 2023
@swyxio swyxio deleted the addPerplexity branch August 12, 2023 16:56
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.

[Looking for Contributor] New Provider: Perplexity AI
2 participants