Commit graph

386 commits

Author SHA1 Message Date
mic
7eeb50b5b6 disabling btn fetch models and selected models if apikey is empty. see #92 2024-07-23 23:45:06 +02:00
mic
93afbb2490 managing model in the options page. see #92 2024-07-22 23:36:12 +02:00
mic
59ec47b2e8 fetchModels ouput are only the gpt- models ordered by id desc 2024-07-22 23:35:54 +02:00
mic
2576800e94 typo fixed 2024-07-22 23:05:22 +02:00
mic
1ed94ba797 if no API key is present, fall back to the web interface. Fixes #94 2024-07-22 23:03:54 +02:00
mic
283e6fda3d Manage the options when using the API. Fixes #93 2024-07-22 23:00:35 +02:00
mic
94e5398b02 added close button. improved action buttons 2024-07-22 00:13:01 +02:00
mic
5b6b200af0 improved error log text 2024-07-21 23:52:21 +02:00
mic
26aa9b0092 correctly replying and substituting text 2024-07-21 23:47:05 +02:00
mic
6d9bb7cf7c corretly handling input state 2024-07-21 23:15:05 +02:00
mic
4c529df6f2 response header changed to ChatGPT 2024-07-21 23:06:24 +02:00
mic
4562533619 promptData correctly inizialized 2024-07-21 23:03:52 +02:00
mic
a8f8a7e33a sending full promptData to the frontend 2024-07-21 23:01:53 +02:00
mic
9307c4742e empty prefs_api_key for testing 2024-07-21 22:53:14 +02:00
mic
98bed310ec enabling the send button after the full response 2024-07-21 22:51:10 +02:00
mic
b8353f78ce typo fixed 2024-07-21 22:50:15 +02:00
mic
da4da31e6c css margins fixed 2024-07-21 22:48:42 +02:00
mic
e7332225ff adding action button after response and collecting the full html response in a var 2024-07-21 22:43:28 +02:00
mic
874429e341 fixed tab loading for 115. to be fixed also for later versions 2024-07-21 22:29:55 +02:00
mic
580410c4b3 waiting for the tab to load properly 2024-07-21 22:26:40 +02:00
mic
3e96681d03 not using innerhtml in flushAccumulatingMessage 2024-07-21 22:12:18 +02:00
mic
57d5e54ff0 added mock functions to test the user interface 2024-07-21 21:05:48 +02:00
mic
c538388279 added countTokensUsingAPI method 2024-07-21 21:01:54 +02:00
mic
f372583cba commented a console.log line 2024-07-21 20:30:52 +02:00
mic
8029a47a83 typo fixed 2024-07-21 20:22:18 +02:00
mic
ca912be91b error message improved 2024-07-21 16:51:01 +02:00
mic
37ec6ca76a handling error messages from the ChatGPT API 2024-07-21 16:49:36 +02:00
mic
113656a257 comment added 2024-07-21 16:24:38 +02:00
mic
89500c82a8 text improved 2024-07-21 16:24:09 +02:00
mic
bab960c278 removed another mock message 2024-07-21 16:23:39 +02:00
mic
386d49b63d sending the choosen prompt 2024-07-21 16:22:59 +02:00
mic
c57eeb134d removed empty line 2024-07-21 16:00:01 +02:00
mic
1ef4684bff comments translated to english 2024-07-21 15:59:24 +02:00
mic
29b29026e5 empty lines removed 2024-07-21 15:58:22 +02:00
mic
c712d11112 spaces removed 2024-07-21 15:57:36 +02:00
mic
5cf514c17a added missing style.css file 2024-07-21 15:43:29 +02:00
mic
c42097b83f setting a model for tests 2024-07-21 15:39:29 +02:00
mic
48538102af correctly handling api_key_chatgpt pref 2024-07-21 15:39:18 +02:00
mic
940a105142 updated readme 2024-07-21 15:32:08 +02:00
mic
2eeed96331 added license header 2024-07-21 15:30:11 +02:00
mic
d942b026c0 mock functions removed 2024-07-21 15:26:10 +02:00
mic
ee2540a8c8 correctly using openai api class in the webworker 2024-07-21 15:25:07 +02:00
mic
0febb327fa labels text improved 2024-07-21 15:01:55 +02:00
mic
4a215d8961 managing chatgpt apikey in the options 2024-07-21 15:00:40 +02:00
mic
6b5f16dc91 first call of the new api webchat frontend (work in progress) 2024-07-21 00:19:28 +02:00
mic
a034a5a2b9 chatgpt web frontend: no more using innerHTML. now using markdown-it instead of marked 2024-07-21 00:18:41 +02:00
mic
6e93b90027 first import of boxabirds/chatgpt-frontend-nobuild chatgpt web frontend 2024-07-21 00:17:19 +02:00
mic
83bc12e0f9 added a checkbox to toggle the use of the API 2024-07-20 23:56:07 +02:00
mic
c22e6d4b5e upedated error messages 2024-07-20 23:39:52 +02:00
mic
fda0378d08 using the api_active option 2024-07-20 23:27:27 +02:00