Wykres commitów

204 Commity (7bc821dc582c9e23bf35bddbd7dd52919bd13083)

Autor SHA1 Wiadomość Data
Travis Fischer 0ec19f2cfb
Merge pull request #190 from danielehrhardt/email-input-fix 2022-12-22 10:34:04 -06:00
Daniel Ehrhardt 931e134f46 fix: nopecha key input 2022-12-22 13:50:02 +01:00
Daniel Ehrhardt eeb2bf4542 fix: email input not complete 2022-12-22 12:58:04 +01:00
Daniel Ehrhardt 257c23b0ea Added nopechaKey to ChatGPTAPIBrowser 2022-12-22 12:55:35 +01:00
timordnung fa29f3da2f Added Proxy Auth 2022-12-21 10:41:39 +01:00
timordnung 318a03be66 Added Proxy Auth 2022-12-21 10:40:35 +01:00
Travis Fischer 091914a03c feat: minor cleanups 2022-12-20 02:14:15 -06:00
Travis Fischer a891f10727 feat: fix 403 handling during sendMessage 2022-12-18 22:06:40 -06:00
Travis Fischer 7222b7f296
Merge pull request #167 from optionsx/Addition_Microsoft_Login 2022-12-18 18:17:01 -06:00
optionsx 73d60c6b28
Last One :) 2022-12-19 02:54:17 +03:00
optionsx ca7dbddca1
revision of last changes 2022-12-19 02:52:27 +03:00
optionsx 242ea3d4cd
Addition of Microsoft Login. 2022-12-19 01:32:45 +03:00
Joel 39dc4de3b4 refactor: fix linting issues 2022-12-18 14:28:51 -08:00
Joel 31a8206fed feat: add proxy support 2022-12-18 14:15:14 -08:00
Travis Fischer 39518ac691 feat: respect PUPPETEER_EXECUTABLE_PATH 2022-12-18 04:07:24 -06:00
Travis Fischer 1de4e6fbc8 fix: google login robustness 2022-12-18 01:04:58 -06:00
Travis Fischer d87ae67129 docs: add captcha docs to readme 2022-12-18 00:17:57 -06:00
Travis Fischer 56dd2fe4b7 fix: 2captcha support when using typescript/tsx/esbuild 2022-12-17 23:30:51 -06:00
Travis Fischer cb994390c3 feat: minor chrome improvements; added flags to try and reduce memory 2022-12-17 22:36:35 -06:00
Travis Fischer a7af8ac0df feat: add log to make it clear when nopecha is initialized properly 2022-12-17 17:57:30 -06:00
Travis Fischer 3e6db370ea feat: add logic to solve simple captchas in addition to recaptchas 2022-12-17 16:43:40 -06:00
Travis Fischer 71de95ab97 feat: make retry at capacity a little more customizable 2022-12-17 16:33:39 -06:00
Travis Fischer df424df197 feat: retry if at capacity 2022-12-17 16:31:32 -06:00
Travis Fischer ad20bb6f57 feat: make nopecha extension ID dynamic 2022-12-17 16:09:18 -06:00
Gus V 77e71f461d
Update openai-auth.ts
add --disable-setuid-sandbox so puppeteer works with the heroku buildpack for puppeteer on heroku
2022-12-17 12:28:00 -05:00
Travis Fischer df1db26415 chore: update ts docs 2022-12-17 03:57:22 -06:00
Travis Fischer a5f1f20f9a feat: add nopecha automatic captcha bypass 2022-12-17 03:12:58 -06:00
Travis Fischer f1d769ce6b feat: add useful puppeteer launch args 2022-12-17 00:09:32 -06:00
Travis Fischer 8a0043d343 🐆 2022-12-16 23:48:56 -06:00
Travis Fischer 619ddd9148 feat: improve chat page detection for browser version 2022-12-16 23:39:44 -06:00
Travis Fischer 1af5db2471 feat: redesign main sendMessage, initSession, closeSession API 2022-12-16 22:48:42 -06:00
Travis Fischer 205d6d97fe feat: change browserPath=>executablePath 2022-12-16 17:23:26 -06:00
Travis Fischer d685b7800c fix: minor cleanups of executablePath 2022-12-16 17:12:28 -06:00
Travis Fischer 94d54836a7 fix: resetThread should never throw 2022-12-16 17:07:32 -06:00
Alex Shand e5cad7a55e feature: Add browserPath option 2022-12-17 00:02:33 +10:00
Travis Fischer 83855626d9 fix: conversation support 2022-12-16 01:33:42 -06:00
Travis Fischer d2cd6f8162 feat: add timeout support for browser sendMessage 2022-12-16 01:05:33 -06:00
Travis Fischer 8f5c9af919 👈 2022-12-16 00:29:48 -06:00
Travis Fischer ad7853a096 feat: improve browser version with conversation support 2022-12-16 00:28:30 -06:00
Travis Fischer 9aeb17e7f7 fix: minor fix for timeouts 2022-12-15 21:33:24 -06:00
Travis Fischer 025f9682e4 fix: timeouts for browser 2022-12-15 19:00:09 -06:00
Travis Fischer fdb60f633a fix: minor cleanups 2022-12-15 16:59:28 -06:00
Travis Fischer 1f1fc66429 feat: close browser on error 2022-12-15 02:14:17 -06:00
Travis Fischer b3f71bc1e4 feat: bump reload timeout 2022-12-15 01:39:09 -06:00
Travis Fischer 8e0f32b444 feat: add timeout support to browser sendMessage 2022-12-15 01:35:09 -06:00
Travis Fischer 0d09ca965f feat: handle session expiration gracefully 2022-12-15 00:44:17 -06:00
Joel b8a3fe0d2a
Merge branch 'feature/improve-robustness' into feature/improve-robustness 2022-12-14 22:27:41 -08:00
Joel 16d144adab
fix: properly handle messages with newlines
Pressing Enter would normally send the current message, so now the code splits it up by newlines and uses Shift+Enter unless it's the last split.
2022-12-14 22:24:03 -08:00
Travis Fischer 7ddac69223 feat: more WIP.. 2022-12-15 00:22:31 -06:00
Travis Fischer 2e0990e9be feat: add ChatGPTAPIBrowser for increased robustness; less efficient but less 429/403/503 errors 2022-12-14 22:41:43 -06:00
Travis Fischer dd872320ae feat: trying to fix capacity testing 2022-12-14 21:27:46 -06:00
Travis Fischer 0385b8d7df feat: fix capacity error 2022-12-14 21:24:19 -06:00
Travis Fischer 61e9148805
Merge pull request #110 from MrlolDev/main 2022-12-14 16:39:32 -06:00
Joel 5170641e89
fix: remove unnecessary console logging
Removes unnecessary console logging in `checkForChatGPTAtCapacity()` and puts the alert message into the error message.
2022-12-14 13:17:21 -08:00
Travis Fischer d2770a2dd1 chore: add GitHub issue template 2022-12-14 13:05:16 -06:00
gookyn e0850dabf1 fix(openai-auth.ts): fix the default chrome path of windows
#112
2022-12-14 16:36:45 +08:00
Travis Fischer fd4ff2f432 feat: remove browser build; fix build errors 2022-12-13 20:13:31 -06:00
Travis Fischer 38118a4a6e . 2022-12-13 20:11:12 -06:00
Travis Fischer bbd157d377
Merge pull request #124 from kodjunkie/patch-1 2022-12-13 20:07:47 -06:00
tpholston 5dad44637c Adding a isGoogleLogin flag to getOpenAIAuth so users with a google account can authenticate that way. 2022-12-13 17:01:32 -07:00
Lawrence Onah 7826796bfd fix chrome executable path on linux 2022-12-13 20:56:34 +01:00
Travis Fischer c936391041 fix: minor fix for puppeteer automation 2022-12-13 12:32:17 -06:00
Lawrence Onah 87b168d209 get chrome executable path based on the platform 2022-12-13 15:40:08 +01:00
Mrlolpro 1dc12afe7d feat: detect capacity limit 2022-12-12 20:49:57 +01:00
Mrlolpro 658be86e24 feat: add 2captcha support 2022-12-12 20:46:33 +01:00
Travis Fischer 1d621d0c3c feat: move puppeteer automation into main lib; update docs 2022-12-12 11:23:03 -06:00
Travis Fischer c1634b0537 feat: add additional options to better control debugging; add some inline docs 2022-12-12 10:37:44 -06:00
Travis Fischer 70fd95c80c feat: add demos for puppeteer automated CF workaround 2022-12-12 05:28:53 -06:00
Travis Fischer 74a9b928d2 feat: allow for adding extra headers 2022-12-11 20:00:56 -06:00
Travis Fischer f9fe5b5b1d fix: WIP attempting to match OpenAI's HTTP behavior 2022-12-11 20:00:56 -06:00
Travis Fischer c083ad64d9 feat: add support for Cloudflare 'clearanceToken' 2022-12-11 17:18:51 -06:00
liyu 37bf84bd2a feat: set accessToken while initialize ChatGPTAPI 2022-12-12 00:46:03 +08:00
Travis Fischer 14ac1af64b feat: add additional headers; add user accessor 2022-12-11 05:43:39 -06:00
Travis Fischer 90c6e3500f feat: add ChatGPTError with more info on HTTP errors 2022-12-10 16:19:39 -06:00
Travis Fischer 0f995702fb docs: add a note in the readme about onProgress and onConversationResponse 2022-12-08 03:08:16 -06:00
Travis Fischer 624823e6db fix: add error message on node.js if undici isn't supported 2022-12-07 21:28:26 -06:00
Travis Fischer 938bb7c6f5 fix: vercel fetch 2022-12-07 15:03:42 -06:00
Travis Fischer dc94e9368a fix: add support for polyfilled node-fetch on Vercel 2022-12-07 14:44:30 -06:00
Travis Fischer 23b9fcd595 fix: remove top-level await import for undici 2022-12-07 00:07:42 -06:00
Travis Fischer 58795f4150 feat: fixes and documenting methods 2022-12-06 22:17:48 -06:00
Travis Fischer c8b3ac7029 fix: various fixes and doc updates 2022-12-06 22:16:29 -06:00
Travis Fischer aaf5efc01b feat: WIP add support for native fetch; undici on node.js < 18, and refactor conversation support 2022-12-06 22:16:29 -06:00
simon3000 8fb30b155b
conversation always save conversationId 2022-12-06 16:38:10 +01:00
simon3000 8012354411
Update demo-conversation.ts 2022-12-06 16:35:57 +01:00
simon3000 df94c61313
optional params for Conversation 2022-12-06 14:46:55 +01:00
simon3000 9e891f529a
added some comment 2022-12-06 08:52:24 +01:00
simon3000 d716a35bd5
Conversation support 2022-12-06 08:38:32 +01:00
Travis Fischer 7111542714 test: adjust unit test timeouts 2022-12-05 23:05:35 -06:00
ItzBlinkzy 700cb68c80 Replaced typo converstationId with conversationId 2022-12-06 03:52:37 +00:00
Travis Fischer 26f1090182 feat: revert to node-fetch@2 2022-12-05 17:25:40 -06:00
Travis Fischer 216aaf8027 🌋 2022-12-05 17:15:42 -06:00
Travis Fischer 5892f9a115 docs: update demo 2022-12-05 17:14:19 -06:00
Travis Fischer 56a4f82b1d feat: switch to undici and add ava unit tests 2022-12-05 17:09:31 -06:00
Travis Fischer 9d408621b3 docs: add example gif 2022-12-05 01:32:30 -06:00
Travis Fischer c361da937f docs: improve readme for new version 2022-12-05 01:32:30 -06:00
Travis Fischer eb11acd263 feat: convert from browser to REST API 2022-12-05 01:32:27 -06:00
Travis Fischer acf5261b48 chore: tweaks 2022-12-05 01:31:27 -06:00
Bruno Cal e3355dd9f4 Add resetThread() function 2022-12-05 02:14:23 -03:00
Travis Fischer cdd71d7ab4 feat: garbage collection chromium browser on close() 2022-12-04 04:33:17 -06:00
Elijah Conners 226b7d2421
feat: add typings for the ChatGPT API
Signed-off-by: Elijah Conners <business@elijahpepe.com>
2022-12-03 09:43:38 -07:00
Travis Fischer eaa4357a6c fix: initial login flow bugs 2022-12-03 02:46:57 -06:00
Travis Fischer 2ba7d93c15 chore: docs 2022-12-02 18:09:45 -06:00
Travis Fischer 3e372b55b1 feat: add docs; tweak ts 2022-12-02 18:04:53 -06:00
Travis Fischer 8ef2c77a10 feat: init 2022-12-02 17:43:59 -06:00