From 14e476228c028fdb70e261ba800c11917c5c5682 Mon Sep 17 00:00:00 2001 From: Marchusness Date: Sat, 23 Mar 2024 01:52:33 +1030 Subject: [PATCH 1/2] Implement AI Pay as an alternative to providing an API Key --- index.html | 164 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 133 insertions(+), 31 deletions(-) diff --git a/index.html b/index.html index 8b21d8c..90d5868 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,8 @@ + RefactorGPT @@ -13,7 +15,8 @@ .indent { margin-left: 20px; } - button { + + button, #ai-pay-link { background-color: darkslateblue; border: none; color: white; @@ -57,25 +60,45 @@

Merged Files Preview:



Instruction:

- +
+ +
+ + Download AI Pay (safer alternative to providing an API key) + +

OR

+ +
+ + + +
+ +
+ + +
-
- - - - -
+ + +

OpenAI Response:

@@ -84,12 +107,79 @@

OpenAI Response:


- + \ No newline at end of file From 9e48bca354a4257d98991550399556238edd2ce7 Mon Sep 17 00:00:00 2001 From: Marco Guaspari Worms Date: Fri, 22 Mar 2024 12:44:41 -0300 Subject: [PATCH 2/2] copy suggestions --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 90d5868..828a908 100644 --- a/index.html +++ b/index.html @@ -69,12 +69,12 @@

Instruction:

Download AI Pay (safer alternative to providing an API key) + target="_blank">Use AI Pay

OR

- +
@@ -119,7 +119,7 @@

OpenAI Response:

if (!isBrowserExtensionInstalled) { aiProviderDetails.style.display = 'flex'; aiPayActiveSession.style.display = 'none'; - aiPayLink.innerText = 'Download AI Pay (safer alternative to providing an API key)'; + aiPayLink.innerText = 'Use AI Pay'; aiPayLink.href = 'https://chromewebstore.google.com/detail/ai-pay/igghgdjfklipjmgldcdfnpppgaijmhfg'; return } @@ -334,4 +334,4 @@

OpenAI Response:

}); - \ No newline at end of file +