Skip to content

Commit

Permalink
Apply prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
swyxio authored and github-actions[bot] committed Aug 4, 2023
1 parent 1268acf commit 9479d74
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const providers = {
HuggingChat: require('./providers/huggingchat'),
OobaBooga: require('./providers/oobabooga'),
Smol: require('./providers/smol'),
PerplexityLlama: require('./providers/perplexity-llama.js')
PerplexityLlama: require('./providers/perplexity-llama.js'),
};

// Getting all the providers in an array
Expand Down
2 changes: 1 addition & 1 deletion interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const providers = {
HuggingChat: require('./providers/huggingchat'),
OobaBooga: require('./providers/oobabooga'),
Smol: require('./providers/smol'),
PerplexityLlama: require('./providers/perplexity-llama.js')
PerplexityLlama: require('./providers/perplexity-llama.js'),
};

const { drawPanes, updateSplitSizes } = require('./src/panes');
Expand Down
1 change: 0 additions & 1 deletion providers/perplexity-llama.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class PerplexityLlama extends Provider {

static url = 'https://labs.perplexity.ai/';


static handleInput(input) {
this.getWebview().executeJavaScript(`
var inputElement = document.querySelector('textarea[placeholder*="Ask"]'); // can be "Ask anything" or "Ask follow-up"
Expand Down

0 comments on commit 9479d74

Please sign in to comment.